Results 1 to 13 of 13
Aug 21, 2003, 09:04 #1
- Join Date
- Apr 2003
- 0 Post(s)
- 0 Thread(s)
can you call a function from inside a script?
I am trying to piece together a bit of form validation. I can not get the two scripts to work together via onsubmit. CardVal works onclick and DataVal works onsubmit.
1. first i tried to call the CheckCardNumber(this.form) from inside the DataValidation.js after it returned true. Is that even possible? I could not figure it out...
2. i tried inserting this into the <form> tag:
onsumbit="return (subform_validator(this) && CheckCardNumber(this.form));"