We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
i want to start a form with no option selected in an optionsequence.
I added an example, where i test some other functionality with options. Sometimes it starts clean after having worked on the code, but sometimes not.
Is there a property I can set, that it starts clean all the time?
all the best
You can reset the form.
hmm, a possibility. but I am afraid that this will reset all fields everytime, the form is used. But perhaps I do not understand, what you say. Is it possible to reset it only the first time, it s used? My form is used and saved with the answers, then opened again...
If all you want to do is to clear the checkboxes while you are still developing the form, then either run this code in the console window, or put it on a button mouseUp. You can always hide or delete the button when the form is finished.
this.getField("cBox").value = "Off";
this.getField("dBox").value = "Off";
You'll find a video on the console window here: