- AbrisudAsked 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.
- JotForm SupportowenAnswered 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.