Hi forum members,
I have an application written in PHPR3.0. I am trying to bring up an alert/confirm box if the user presses the "Reset" button on the add and/or edit page.
If the user confirms that they really do want to reset, they press ok and the fields clear as normal. However, if the user decides that they really did not want to reset, they can press cancel in which case the field contents remain and the add page is returned so they can save.
Seems simple enough, I just am having difficulty getting it to work. I am currently trying to use javascript to add this functionality. If anyone has examples or thoughts, I would appreciate them.
Thanks,
Dave