I created a new form, passed data to controller and everything works fine.
But, I have one more problem:
If I am trying to use existing button ‘Continue to next Step’ for submitting my form it’s not working because in the first lines of the form, there are some class and functions defined:
<input type="hidden" name="cl" value="[{ $oViewConf->getActiveClassName() }]">
<input type="hidden" name="fnc" value="validatepayment">
But I need to use also my owns:
<input type="hidden" name="cl" value="accept_terms" />
<input type="hidden" name="fnc" value="acceptingTerms" />
So, with my own form and button it’s working. But I need to work this when ‘Continue to next Step’ button is pressed in their form.
Can I define my own two lines in their form or there is another way?
Please for suggestions.
Thanks.