phppaypaljoomlachronoforms

Joomla - ChronoForm: Submit action based on user selection


I am new to Joomla and Chronoform.

Site is integrated with chronoform 5 and it accepts payment via paypal pro and check. User has option to select paypal or check for payment as shown below

enter image description here

I have completed payment through paypal onsubmit. But if use selects check it should not process payment and also it should give different display message. How I can integrate both ? Please suggest.

enter image description here


Solution

  • You can use an Event Switcher action after the form submits to redirect to different pages for the different payment methods.

    Please see this FAQ for an example of using the Event Switcher.