On the UI there is a searchbox and right now there is no limit a user can enter the text in it. Any guidelines and best practices you are aware are much helpful.

I have checked this .. but this related to the text box, but not search box. Your insights are really helpful

  • 1
    Why are you trying to limit the amount of characters in a search box if I may ask? Oct 23 '17 at 14:56
  • Having no text limit to the search box sounds a bit different to me, and not sure if i am visualising the feature right for my UI. Off-course having no limit is no harm, but i would like to understand the best practice.
    – A user
    Oct 23 '17 at 15:02
  • 1
    "Best practices" always makes me think that you need to go check out some sites similar to your own and see how they handle things. Oct 23 '17 at 17:37
  • What exactly people are searching for?
    – Izhaki
    Oct 23 '17 at 21:01
  • @Izhaki The UI is Ebook. Student will search a text from the ebook.
    – A user
    Oct 24 '17 at 9:11

The limit for your search box should be as long as possible, and no longer. For example, if your search engine only supports 256 characters, then don't allow users to enter in 257 characters. You should not make your text limit any shorter than that supported by the engine, because there will always be a small, but possibly significant, number of users that need to search for really long phrases. You should not make it any longer than supported by the search engine, because it will result in unnecessary error messages or unexpected search results.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.