User Input validation - only existing values

0
Good Morning,   I want to use a text box instead of a reference selector – the user is supposed to type in the value of the Ordernumber and the Ordernumber is supposed to be validated if already existing or not. The problem with reference selector is that we simply get to much data displayed in the dropdown.   Does someone have a better solution for validation if the user input ordernumber already exists?   Best regards, Adam
asked
1 answers
0

If your problem is that the drop-down has too many options you can use the reference selector with a ‘page’ selector, this way you will allow the user to search in an pop-up page: https://docs.mendix.com/refguide/reference-selector#1-introduction see 2.7.1  ‘select using’

Otherwise there are a couple of more options:
 

  1. Use an auto complete or input reference selector from the appstore: https://appstore.home.mendix.com/link/app/99/ & https://appstore.home.mendix.com/link/app/2695/
  2. Use the search input widget: https://appstore.home.mendix.com/link/app/2686/
  3. Create your own search functionality with an helper entity and string search attribute.

 

Hope this helps

 

answered