pthompson2002
09-25-2002, 04:50 PM
I have some form validation script which, when a form is submitted, highlights incorrect text.
I would like to know if there is a way that I can this validation allow to work only for textareas or textboxs and ignore everything else like checkbox and radio buttons that are in the same form.
I know it will be some kind of if statement, that would say roughly
if (textarea or text) {
--------------------------
}
else
{
--------------------------
}
cheers Pete
I would like to know if there is a way that I can this validation allow to work only for textareas or textboxs and ignore everything else like checkbox and radio buttons that are in the same form.
I know it will be some kind of if statement, that would say roughly
if (textarea or text) {
--------------------------
}
else
{
--------------------------
}
cheers Pete