Back to all Tutorials

Simulate Searches

Justinmind Prototyper has a section of calculation functions for the Data Masters and the Data Tables. Use one of them to simulate a search in the list of products:

  • Draw a search box and add to it a text input field and a button. 
  • Click on Add Interaction and associate the Set Value event to the button in the Events tab.
  • Select the data table and click Calculate.
  • Note: you must select the entire table and not just a cell or column: you'll know that you did it correctly when the selected box groups the header and row together.
  • Next go to the Expressions Editor, click the List tab and drag the Filter function to the top.

There are two gaps in the function: the first gap is for the source data you want to filter; the second is the rule applied to the filter that determines which data is allowed. To do a search that covers all the products in this example, click the Data Masters button and move the Data Master "Product" into the first gap. In the second gap, drag the input text field next to the search button from the Screen tab. Hit OK and OK again and then click Simulate.

Back to all Tutorials