The button works fine to reset the form fields while on the page...however after you submit and go to the verify page and come back to edit the page the reset button isn't working...Any ideas. I can add more information but not sure what else would be pertinent.
ColdFusion Language
Last Comment
Ryan Chong
8/22/2022 - Mon
Coast Line
Do you any error, any console message anything you can share,
Quack
ASKER
That's what's odd...nothing in the error log...it's as if after you return to the page the button just does nothing...no error thrown...works the verify...then go back to edit and the reset is dead
Quack
ASKER
Ok...I think it has something to do w/ the hidden field added to keep the fields repopulated when returning to the form page from the verify page.
Here's the code used to keep the field populated and then the structure for the verify and reset buttons:
This has recently been added fyi to the form so the problem resides in this I'm fairly sure but I don't understand why its not working when you go back to the page but works fine before hitting the verify button to go to the verification page.
The two files attached are txt version of the cfm files guys...The older version was working correctly but after adding server side validation to the verification page the reset button is having issues. The newer version was modified to keep the text in the form fields when returning to the contribution page to edit the file. Any ideas on what's affecting the reset button functionality would be greatly appreciated. It works fine until you return to edit the form from the verify page then it dies.
Ryan Chong
can you try to open the JS/JavaScript section of Inspect Element of your web browser and check if there's any error when you clicked the Reset button there?