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

    Reset a specific field on edit link.

    Asked by swoosh on August 18, 2016 at 07:04 PM

    Hi Guys,

     

    I'd like to be able to reset a field to 'blank' anytime the form enters an edit state after the first submission.

    https://form.jotform.co/62298654791874

     

    Basically we are using a form collapse to hide an admin section of the form which can be made visible by typing in a code in field ''Admin Only'' - code is 1234.

    The problem is, if the submitter goes back in to edit the form after an admin has placed the code in field ''Admin Only'', as the field was already filled by the admin, it remains filled and the submitter can see the Admin section in the second form collapse.

    I'd like to some how tell that field to reset to blank each time the form is opened back up in edit mode, forcing the admin to have to re-enter the code each time.

     

    Is that possible?

     

    Cheers

    George

     

    Page URL:
    https://form.jotform.co/62298654791874

    on edit edit mode reset field
  • Profile Image
    JotForm Support

    Answered by Welvin on August 18, 2016 at 10:07 PM

    Once the field is filled, the data will remain there on the edit link. A workaround for this would be to re-edit the submission and remove the password before sending out the edit link back to the submitter. So, the process are the following:

    1. A person submitted the form.

    2. Admin filled the admin section and re-submit. User gets the edit link.

    3. Admin will edit the submission again, removing the password and re-submit. 

     

    Please try that and let us know if this works for you or not.

  • Profile Image

    Answered by swoosh on August 18, 2016 at 10:10 PM

    Thanks Welvin - yes this will work ok.

     

    I did see something here about changing the source code to reset certain fields - might that be an option?

     

  • Profile Image
    JotForm Support

    Answered by Chriistian on August 19, 2016 at 02:25 AM

    I am glad to know that the workaround will work for you. I checked the thread that you linked and it looks like the code that they added is simply a button that the user can click to reset a specific field. The code on the thread can only be used while the form is being filled by the user, not after. I believe your requirement is a bit different, since you require a field to be reset after the first submission. The only workaround seems to be the one suggested by my colleague Welvin.

    If you need further assistance, please let us know.
    Regards.