www.webdeveloper.com
Results 1 to 2 of 2

Thread: validation for two check boxees

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    Mohali
    Posts
    4

    validation for two check boxees

    validation for two check boxes using java script
    if we have three check boxes in a form and the need is that one has to necessarily select any two (not one) of the three check boxes. how to do that?
    the form should not work further till the two check boxes are marked

  2. #2
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,633
    you have to check those two checkboxes for being checked (true or false) on the third checkbox click and don't let it to become checked if those two return false. on submit the form you have to return the third checkbox 'checked'
    xxx: Guess Buddhist riddle: "What is the sound of one hand clapping?"
    yyy: facepalm

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles