Form dependency manager

Posted by user225269 on Stack Overflow See other posts from Stack Overflow or by user225269
Published on 2010-04-27T12:51:23Z Indexed on 2010/04/27 12:53 UTC
Read the original article Hit count: 362

Filed under:
|

Need help in form dependency manager javascript: As you can see the checkbox below depends on either of the two criteria (the info=student or the info=all). I've come up with the code below based on this:

DEPENDS ON name [BEING value] [OR name [BEING value]]

CONFLICTS WITH name [BEING value]    

from this site: http://www.dynamicdrive.com/dynamicindex16/formdependency.htm Here's the code:

   <tr>
    <td>
 <input type="hidden" name="yr">
   <label> <input type="checkbox"  name="yr" value="year" class="DEPENDS ON info BEING student OR info BEING all"> Year</label>
       </td>
    </tr>

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript