I see, but you shouldn’t use different HTTP verbs (POST
, GET
) just to keep requests of different forms separated. Use the value of a hidden form field instead.
- Add this to the Uniform form:
<input type="hidden" name="payment_method" value="check">
- Update the controller
if (r::is('POST') && get('payment_method') === 'check') { $form->emailAction(...