does a search functionality should show a warning when writing less than X numbers of characters in order to display result?

2 Answers 2


Depends, you can set a minimum number of characters to search, it will help your backend to recieve less request.

But can be harder to your users for use,for me this question is related with your business and your user can tell more about it, give opinion without this context it's hard.

So, my default answer always: investigate and prototipe with your users, they can help you much better.


Instead of showing an error, guide the user to start typing:

enter image description here

And then once enough characters have been entered, start showing suggestions in a dropdown.

You can also have placeholder characters (X amount) and have the users typing replace them, something like this:

enter image description here

In this example the user has started typing the word "Test" in the input.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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