condition statement on forms checkbox/radio buttons

jsonvega 20 Feb, 2009
Hi Everyone,

I would like to ask for help with my forms.
Is it possible to have a condition like statement for the checkbox or radio button?
I have a selections for payments methods to use by the user, one for paypal and one is for cheque/cash/DD.
If tick or checked for paypal method, the user will be directed to the paypal payment page upon submit, otherwise if the user wants to have it pay using cheque/cash/DD, the user will be directed to a page where details for the cheque/cash with a thank you message.

how could I possibly do that? Im not a programmer, sorry!
can anyone help me, and give sample codes to do that, and where to put it, etc.

Thank you very much!
J
GreyHead 20 Feb, 2009
Hi jsonvega,

It's completely possible, you just need a little php if () . . . else . . . condional test in your OnSubmit code.

Bob
jsonvega 20 Feb, 2009
Hi,

thank you!
but the problem is i don't know how.

can you help me the codes?
This topic is locked and no more replies can be posted.