Hi Everyone,
I am using FormItBuilder to build a form for purchasing a single product. It captures some required information and then integrates with WorldPay. I need it therefore to validate for required fields before it is redirected to the WorldPay website. If i update the core/components/formitbuilder/model/formitbuilder/formitbuilder.class.php from:
$s_form='<form action="[[~[[*id]]]]"'.$s_formTitle.' method="'.htmls
to this
$s_form='<form action="https://secure.worldpay.com/wcc/purchase" method="'.htmls....
it redirects successfully to the worldpay website but does so before it has validated the form. How do i get it to validate before redirecting? I need the required fields entering first?
Also, is there a better way of updating [[~[[*id]]]] to
https://secure.worldpay.com/wcc/purchase, short of editing the formitbuilder.class.php file?
Thanks