I need to zip code validator where it will only let people submit the form that are from one of the pre selected zip codes that i set.

  • Profile Image
    Scott
    Asked on January 03, 2017 at 10:25 PM
    I need to zip code validator where it will only let people submit the form that are from one of the pre selected zip codes that i set.
  • Profile Image
    ashwin_d
    Answered on January 03, 2017 at 10:29 PM

    Hello Scott,

    I am not sure if I have understood your requirement. DO you want to validate zip code or you want user to only select from a set of zip codes?

    I would suggest you to please take a look at our "Zip Code Auto-Suggest" widget and see if it fits into your requirement. 

    You can also add condition to check the zip code entered by user and see if it is from predefined list. 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    Scott
    Answered on January 03, 2017 at 10:45 PM
    Yes so I want to put in valid zip codes in the backend. This way people don’t share the contest with friends outside the area just to earn more points because the people outside the area would be a bad lead as they would never visit the restaurant . thanks.. Looks like you have a lot of solutions

    Ps.. can you add your own css to style these?

    ...
  • Profile Image
    ashwin_d
    Answered on January 04, 2017 at 01:55 AM

    Hello Scott,

    Yes it is possible to customise the widget by injecting custom css code. Please check the screenshot below on how to inject custom css code in widget:

    If you need to customize the look of your form by injecting custom css code in form as well and the following guide should help you:

    https://www.jotform.com/help/75-Customize-Your-Form-Using-Custom-CSS-Codes

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!