I have a reset button in my form.
The javascript is:
form1.BodyPage.ResetButton1::click - (JavaScript, client)
xfa.host.messageBox("Are you sure you want to erase ALL data on this form and start over?")
xfa.host.resetData();
xfa.form.remerge();
I do have several required fields in the form. The problem is when I use the reset button it clears the form but the red boxes still remain around the required fields.
what can I add to my javascript to accomplish this? This is probably a simple thing but I'm a bit of a noob at this, forgive me.