What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Prevent Submit if Address State Contains/Equal to

    Asked by NGHS on December 04, 2015 at 11:53 AM

    Hello! I need to limit form submissions to people with addresses within the state of Georgia, USA. I wanted to hide the submit button if the State field contained anything other than "GA" or "Georgia". I can't seem to do this. Thanks for the guidance!

    equal to prevent submit conditional logic
  • Profile Image
    JotForm Support

    Answered by Mike on December 04, 2015 at 12:49 PM

    If you are referring to the State dropdown from Address section, unfortunately, we cannot setup conditions based on it.

    You may consider adding the address fields manually (e.g. with Text Boxes and Dropdown).

    Then, setup your conditions based on the State field. Is this something that might work in your case?

  • Profile Image
    JotForm Support

    Answered by Mike on December 04, 2015 at 12:53 PM

    Condition example:

  • Profile Image

    Answered by NGHS on December 04, 2015 at 04:11 PM

    I appreciate your feedback and hep, Mike. I wanted to avoid this because we have a lot of submissions already, and I do not want to loose the submission data in JotForm by replacing the address field with a handful of new separate fields. I'll try to approach a different way. Thanks! 

  • Profile Image
    JotForm Support

    Answered by Kevin_G on December 04, 2015 at 05:42 PM

    Hi,

    I can confirm what my colleague says, there is no way to use the Address field and get in a condition only the State field, the only way is using the Address as separate fields.

    Please, if you need more help or have more questions, feel free to contact us , we will be glad to assist you.

    Regards.