logo

New Response

« Return to the main article

You are replying to:

  1. I have been using your field validation v2.0 ... it works great but I just ran into a new twist that I need to figure out.

    How would you add (multiple dependent fields).to your routine?

    I have a form with several yes/no radio buttons that need to have an accompanying field filled when the value of the radio button is "yes"

    doc=document.forms[0]

    if (doc.radio[0].checked == "1") { if(doc.field1.value=="" || doc.field1.value==null ) { alert( " Please enter Field1" ) ; } }

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: