How to create only Clear Button?

  • mnsharpe
    Asked on January 11, 2017 at 6:43 PM

    I have a button...it is a "back" button that I've labeled submit another form, but I do not see anywhere where I can "clear" the old data so the user can start a "fresh" form with no previous data shown. Can you help? Thanks! Mike

  • Özlem JotForm Developer
    Replied on January 12, 2017 at 1:40 AM

    Hi,

    According to my understanding, you want to allow people to clear first page of your form when they click "Back" in second page.

    In other words, people fill the first page, and then, pass to second page. In the second page, when they click "Back" button, you want to show a clear page that has no previous data. Could you please clarify this point and please share your scenario more detailed?  In this case, you cannot see any submissions about the previous data. 

    If it is your issue, please follow the instruction below:

    #1- Add a Submit Button to the form. Activate the Reset Button as shown in the below image:

    How to create only Clear Button? Image 1 Screenshot 60

     

    #2- As you see that we added second Submit Button but we don't need it. Therefore, we need to hide it with Custom CSS Codes. Please have a look at the following images:

    How to create only Clear Button? Image 2 Screenshot 71

    How to create only Clear Button? Image 3 Screenshot 82

    How to create only Clear Button? Image 4 Screenshot 93

    I have injected below CSS code into my form to hide SUBMIT button. 

    #input_26 {

        display: none;

    }

     

    "#input_26"  is the Field ID. It may change in your form. Therefore, you need to follow above steps to find the correct Field ID.

    The important code is  "display: none;". This code provides to hide your the submit button.

    Finally, please have a look at the following video about the result:

    How to create only Clear Button? Image 5 Screenshot 104

     

    If you need any other supports, please feel free to let us know.

    Thank you.

  • mnsharpe
    Replied on January 12, 2017 at 10:45 AM
    Thanks very much for the prompt response. Sorry, I did not explain well
    enough. What I meant was after the respondent submitted the data, I wanted
    them to have the option to go back and make another entry. I guess when you
    Submit, you get a Thank You, however, I would like to have them have the
    opportunity to submit new data. Does that make sense? Thanks, Mike
    ...
  • Nik_C
    Replied on January 12, 2017 at 12:33 PM

    Hello Mike,

    If I understood you completely you would like your users to be able to submit the same form again upon original submission. To do that you can simply redirect your thank you page to the form's URL. So, instead of the Thank you page, you can show them the form again:

    How to create only Clear Button? Image 1 Screenshot 20

    What happens is when your user submits the form they will be on the same page again. 

    Hope this helps and that this is what you had in mind.

    If you have any further questions please let us know.

    Thank you!

  • mnsharpe
    Replied on January 12, 2017 at 1:45 PM
    Excellent! Thanks! Mike
    ...
  • Nik_C
    Replied on January 12, 2017 at 3:45 PM

    Hello Mike, 

    You're welcome. I'm glad it worked for you.

    Do not hesitate to contact us if you have any further questions.

    Cheers!