JavaScript Button Validation
Posted: Tue Nov 25, 2003 9:17 pm
Hi ,
I have a html form within a Php . I have three buttons of submit type iside the form . I also have 5 text fields . Depending on the button type i want to have diffrent validations . Right now i am using a onSubmit event and calling a javascript validation funtion . But this function is same for all all the buttons . I tried to call another javascript method on one of the submit buttons . But the Browser is hanging ..
Kindly let me know a way to handle this..
Regards
Deb
I have a html form within a Php . I have three buttons of submit type iside the form . I also have 5 text fields . Depending on the button type i want to have diffrent validations . Right now i am using a onSubmit event and calling a javascript validation funtion . But this function is same for all all the buttons . I tried to call another javascript method on one of the submit buttons . But the Browser is hanging ..
Kindly let me know a way to handle this..
Regards
Deb