Forums

Validate 2 checkboxes and pay according Paypal or Deposit

nikolaoskai 18 Feb, 2015
Hello,

i have a form that at the and i want t have two different types of payment, the one is just deposite and the second is paypal. So if someone select the first the form will be send without a payment but with the second i want to redirect to paypal payment. I have no clue how to do that. First i need to validate one of the two checkboxes and according to the selection make the action.
Can please someone help me with this.

Regards
Nikolaos
GreyHead 18 Feb, 2015
Hi Nikolaos,

You can do that with the Event Switcher action in the form On Submit event. That will let you check the checkbox (radio button?) value and use different action sets depending on the result.

Note: Redirecting to PayPal needs to be the last action in the event as ChronoForms loses control at that point.

Bob
nikolaoskai 18 Feb, 2015
Hi Bob,

thanks for your reply. I have read that i can do that but i don't know how. This is my first time i use Chronoforms. If you need i can send you the form code to check.

Regards
Nikolaos
Max_admin 18 Feb, 2015
Hi,

Please check the "Event switcher" FAQ, it may help:
http://www.chronoengine.com/faqs/70-cfv5/5212-event-switcher.html

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.