Ok, I should just type out my emails and not send them because it tends to make me find the answer. I just realized I could use validateAtLeastOne()
--
Aaron Rouse
http://www.happyhacker.com/
On Thu, Oct 9, 2008 at 3:41 PM, Aaron Rouse <aaron.rouse@...> wrote:
How can I add a validation function that is not specific to one field to run when I submit the form? I know I could do something like:function frmSubmit { if(myFunction() == true) objForm.submit() }But I would like the result from myFunction to be included in the alert message from qForms if something is wrong.What I am wanting to do is verify that the user has checked at least one out of a series of 32 check boxes. I was planning on writing a function to loop through those and return true if one was checked,but perhaps I should go another route so that it works within qForms?
--
Aaron Rouse
http://www.happyhacker.com/
--
Aaron Rouse
http://www.happyhacker.com/