Hi
I got a problem with the cancel button of my form
when users make changes to the form then click cancel I want it to revert to the saved setting. The problem I am getting is this error : document.Tasks_Priority.FormAction is null or not an object.
When I click the "Undo" button it appears to work although I am getting the above js error
Can anyone tell me what is wrong with my script ?
<input type="reset" value="Undo" onclick="document.Tasks_Priority.FormAction.value = 'cancel';"/>
Thanks
I got a problem with the cancel button of my form
when users make changes to the form then click cancel I want it to revert to the saved setting. The problem I am getting is this error : document.Tasks_Priority.FormAction is null or not an object.
When I click the "Undo" button it appears to work although I am getting the above js error
Can anyone tell me what is wrong with my script ?
<input type="reset" value="Undo" onclick="document.Tasks_Priority.FormAction.value = 'cancel';"/>
Thanks