Click to See Complete Forum and Search --> : I need "if" - "then" code for buttons on registration form


angelgabriel
June 1st, 2006, 12:32 PM
Hi There,

I need help with some coding: In the end of registration form I need to create 3 buttons:
One- check if agree to the Ts and Cs (have to check)
Two- check if interested in getting a personal page in the site (free)
Three- If interested in getting more services ($25)

If they checking the first and second only , when they click on submit it should take them to a Thank you page (I have the url for that).
If they checking all three of them it should link them to a different page (URL and Paypal option that I have it done already).

So all I need is the codes and I will just place the url instead of what you will send me.


I hope I was clear. Thanks in advance...

AngelGabriel

Shuja Ali
June 2nd, 2006, 02:44 AM
You should be using the Check Boxes rather than buttons. That will make your code look much simpler and page will also look better. Then you can easily check the values of the checkboxes to find out what the user has opted for and redirect them to the specific page.