Check Boxes on Forms

Results 1 to 2 of 2

Thread: Check Boxes on Forms

  1. #1
    Join Date
    Dec 1969

    Default Check Boxes on Forms

    I have a form with 6 check boxes. I need to direct the user to different pages depending on which boxes are ticked. I know that I need to write If statements, but I also know that the check box does not stay ticked when you submit the form to the code page.<BR><BR>What do I do?<BR><BR>I know how to create the form with the tick boxes and call an ASP page with the If code on it. I just need to know how to make the code see True if the box is ticked.

  2. #2
    Join Date
    Dec 1969

    Default RE: Check Boxes on Forms

    Check box values get passed like any other form field. If you&#039;re using Method="Get" Then on the query string you&#039;ll see:<BR><BR>MyCheckBoxName = ON <BR><BR>When the box is checked. If the box isn&#039;t checked it just won&#039;t show up. <BR><BR>If you&#039;re using Method="Post" then the same thing will be in the form collection.

Posting Permissions

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