how to display in search box with the related names ?

kishore shared this problem 3 years ago
Solved

hi,


This is kishore kumar reddy. My problem is how to display with the same name list in the search box. how to write condition in justinmind protytyper ?


(that is we are entering any name in search box and display related names.)


db5a08a25c4f0daa093315a5e2e0cdf8


Please reply me my problem

Comments (4)

photo
1

Hello Kishore,


To display results that are related in some way, I would suggest exploring JustInMind's regular expression constants. Found in the condition builder, these will allow you to compare data and perform validation. You may find the following resource useful in learning how regular expressions can be implemented:


http://www.justinmind.com/support/sim...


Regards,


Luisa

photo
1

hi Luisa Barros,


This is Kishore Kumar Reddy,


Example, i want to search in google search page type a any letter suppose--e (or) a (or) c and so on, then display related names. ok


So i want to design this type of example or not in justinmind prototyper.

photo
1

Hello Kishore,


In that case, I would suggest using a HAS function, which can check whether the typed value is present within the set of results. Essentially, you will set up a condition that will search the container for the results and filter the entries to produce the value that HAS the same string. Additionally, you may check whether a substring produces a match for further refinement.


Regards,


Luisa

photo
1

For simple prototyping needs you can use event on key down and choose that the autocomplete appears after pressing custom letter for example "A".


You can combine this with:


if input field is empty, hide autocomplete.


Here's the prototyper file with this implemented.


https://www.dropbox.com/s/6yrwlb1tls0...