I have an invoice form that after been filled up, it may be used to generate another invoice. Some of the fields have to be resetted but others no.
A reset field has been setted but is there a way to avoid accidentally resetting/clearing data with a dialog box "are you sure…"?
Yes, but then you have to do it all with a script, and if you don't want to reset all the fields then you have to specify those that you do want to reset by name.
if (app.alert("Are you sure you want to reset the form?",2,2)==4) this.resetForm(["Field1", "Field2", "Field3"]); // etc.