I only want to allow users that are in a certain range of zip codes. Any form for sign up will not allow me to restrict it restrict the field. Any ideas ?
Hi @MobileDev123,
I can see 2 options to explore:
- use Input Validator component from the Marketplace (there are several ones and you may need to explore how they work and if they fit the needs of your restrictions(
- if there are not a lot of ZIP codes, you may use a workaround by creating a collection with them, and then on the ZIP code input screen, you can put an input + button, make button a list, make it a list of Zipcodes, add a filter that current zipcode is equal to input. Also, make all list conditionally visible - only when input is not equal to empty.
With this, when user enters the zipcode, button will appear only when the zipcode in the input matches one of the collection’s entries.
Best,
Victor.
Will the second option work with 125 zip codes?
Hi @MobileDev123,
Yes, that should be ok. Don’t forget to add Zip codes as a text property - they can start from 0.
Best,
Victor.
Thanks, I tried the regex input validator from nocode monkey in the marketplace and that worked great.
1 Like
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.