SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    SitePoint Addict
    Join Date
    Sep 2000
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Form validation - only one checked box?

    I have a form.

    My first question is multiple choice with 4 options. All checkboxes with specific names.
    E.g. the checkboxes are name:
    agree1
    disagree1
    notsure1
    na1

    I am able to validate if none of those are clicked then to alert the user to answer at least once..
    What I need is, if two or more are clicked....HOW to tell the user to only submit one answer?

    any advice?
    Last edited by meztec; Aug 13, 2001 at 08:26.


Bookmarks

Posting Permissions

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