ancatdubher
Programmer
- Apr 10, 2008
- 1
Hi,
I need to perform an action when any field in the form is changed.
The form has about 40 fields.
Currently, I have a onchange function on every field that set a global variable to true:
function onFieldChange() {
window.fieldWasChanged = true;
}
Is there a better way to do this? Is there a onchange action for the entire form?
Thanks,
Ancat
I need to perform an action when any field in the form is changed.
The form has about 40 fields.
Currently, I have a onchange function on every field that set a global variable to true:
function onFieldChange() {
window.fieldWasChanged = true;
}
Is there a better way to do this? Is there a onchange action for the entire form?
Thanks,
Ancat