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

    In what kind of situation(s) would you recommend using enable/disable condition?

    Asked by SOSStLucia on May 25, 2017 at 02:19 AM

    In what kind of situation(s) would you recommend using enable/disable instead of hide/show?



    This is a re-post of a comment on How to Enable/Disable Fields Using Conditional Logic

  • Profile Image
    JotForm Support

    Answered by ashwin_d on May 25, 2017 at 03:45 AM

    Hello SOSStLucia,

    Well it depends upon your requirement. For example: say you have a form which you want your users to submit once but when they edit the submission again, you do not want them to edit certain fields. In those cases, you may like to disable those fields if the form URL contains "edit" text.

    Please take a look at the following demo form I created for you:  https://form.jotformpro.com/71433303695960

    I added "Get Form Page URL" widget to check if the form URL contains edit text and then disable the name & email fields. Here are the conditions I added:

     

    Feel free to test this form by using your own email address and you will receive an auto-responder email with edit link. If you click on that edit link, you will find the name & email fields are disabled.

    Hope this answers your query.

    Do get back to us if you have any questions.

    Thank you!