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

    How to know if the form is being edited and then show a field?

    Asked by markcarlock on June 21, 2016 at 11:53 AM

    Is it possible to have a field hidden on a form and then have the field show up only after it's opened via the edit link? 

    edit link hidden then and
  • Profile Image
    JotForm Support

    Answered by Kevin_G on June 21, 2016 at 12:50 PM

    Yes this is indeed possible, to achieve it you only need to add this widget to your form: https://widgets.jotform.com/widget/get_form_page_url 

    This guide will help you to add the widget: How-to-Add-a-Widget-to-your-Form

    Then when the widget is added to your form you will need to add a condition, it should be like this: 

    The value that widget returns is the link to the form and when it is being edited the link is similar to this https://jotform.com/edit/formID then it will work as you need. 

    Do let us know if it helps. 

  • Profile Image

    Answered by markcarlock on June 21, 2016 at 03:32 PM

    Thanks, that kinda worked.  I'm also trying to hide a submit button and show a different one when the forms opened in the edit link.  That possible?

  • Profile Image
    JotForm Support

    Answered by Kevin_G on June 21, 2016 at 05:06 PM

    Glad to know it worked. 

    And yes, it is possible, the condition will change a bit, instead of only showing the field you will also show the desired submit button and will hide the other one, here is a screenshot of the condition to be used: 

    This is a sample form, when loading it before a submission: 

    This is when editing the submission: 

    Here is also the link to the form so you can test it yourself and see the result of it: https://form.jotform.com/61726389456973 

    The edit link will be shown in the thank you page. 

    Hope this helps. 

  • Profile Image

    Answered by markcarlock on June 21, 2016 at 05:32 PM

    Thanks.  I'm still trying to hide/show different submit buttons but not sure I'm doing it correctly because 2 are still showing on the original form.  This is on my Clone of Requisition Form i'm trying to do this on.  

     

     

     

     

  • Profile Image
    JotForm Support

    Answered by Kevin_G on June 21, 2016 at 06:49 PM

    As this question is not related to the originally posted on this thread, I have moved it to another thread, it can be found on this link: https://www.jotform.com/answers/866161 

    We will assist you there as soon as possible.