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


    Asked by Abrisud on November 23, 2016 at 04:46 AM


    j'aimerai savoir comment réinitialiser mon fichier avec un menu déroulant.

    j'ai un bouton menu déroulant, quand je change de produit dans se menu j'aimerais que tout mon fichier se vide, se réinitialise.

    Merci beaucoup

  • Profile Image
    JotForm Support

    Answered by owen on November 23, 2016 at 06:20 AM


    I see that you have fields that are shown or being hidden conditionally. I have also checked the preferences of your form. I see that you have already enabled the option "Clear Hidden Field Values". It is set to "Clear on being hidden". This should work partially. 

    However, to clear all your fields based on the selections at the dropdown field is not possible to manage with conditions. What I can think of is a reset button. 

    Normally reset button appears next to the submit button. However you can reposition it and make it appear right after the dropdown field. Here is how you can do it:

    1. Add a text field after the dropdown field:

    2. Paste this code inside the text field:

    <p style="text-align: right;"><button id="input_reset_65a" class="form-submit-reset icon-encrypt" type="reset"> Vider le formulaire </button></p>

    Please see how it looks like: 

    You can add a hover text to the dropdown field which instructs your users to reset the form upon changing their selections at the dropdown. 

    Please let us know if it helps. 

    Do contact us again if you need any further assistance.