Result only match 6 digit input

Hi Sir/Madam,Please help me to solve this:I want to make the user only key in input that will result ONLY exact same to my database value like this:


I dont want user when only key in one digit, result will be like this:


I want result ONLY show the exact value in database (only one result). This is my database:


Please help me what i need to do. Your help is very much appreciated. Thanks…

Hi,

You don’t say how you’re doing the search. I can only guess and say that you need to change your filter from .contains to .eq . See the WixDataFilter API for more search options.

See the article How to Use Code to Let Your Users Search a Collection for an explanation of searching a database.