Results 1 to 4 of 4

Thread: Redirect to certain directory depending on Checkboxes selected

  1. #1
    Join Date
    Jan 2013

    Redirect to certain directory depending on Checkboxes selected

    Hello all,
    Hopefully I can get some help on this. I'm trying to set up a form on a home page where there will be 3 check boxes.
    When the checkboxes are selected in any combination, they will each go to a specific page.
    ie: if checkbox 1 is selected, you go to page01.html, if checkbox02, checkbox02.html, if checkbox01 and checkbox02 are selected it will go to checkbox0102.html.

    I'm sure there's a really simple solution to this, but I'm old and I forget.
    As a side note, our server here uses ASP (PHP is disabled )

    Thank you much

  2. #2
    Join Date
    Jan 2013
    I'd probably use some JS and use switches for the possible combinations.

    I can't remember how to set it up, it's been a while since I've used them, but you can find it out there with Google's help .

    Something like

    Switch statment

    case checkbox1.checked = true
    //send to page01.html


    cashe checkbox1.checked = true && checkbox2.checked = true
    //send to page0102.html



    Hope this helps!

    Sorry for the semi-psuedo code!


  3. #3
    Join Date
    May 2005
    Gold Coast (MS)

  4. #4
    Join Date
    Jan 2013
    Thanks guys, but this is not going to work the way I'd like.

Thread Information

Users Browsing this Thread

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

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