-
"Fabrik 4" helpers needed!Dismiss Notice
You are invited to join other community members active in coding, maintaining and improving Fabrik. Please visit https://fabrik.help for more information!
Confirmation form plugin
-
The confirmation plug-in gives your users the chance to review their form's data, and to re-edit it before a final submission.
There are no plug-in options for this plug-in.
To test if you are in the form or its confirmation page your js would be:
Code (Javascript):
window.addEvent('domready', function () {
var confirm = document.getElement('input[name=fabrik_confirmation]');
if (typeOf(confirm) !== 'null') {
// you are on the confirmation page
} else {
// you are NOT on the confirmation page
}
});
And your php would be:
Code (PHP):
if ($this->app->input->get('fabrik_confirmation', '') === '1') {
//you are on the confirmation page
} else {
// you are NOT on the confirmation page
}
XenCarta PRO
© Jason Axelrod from 8WAYRUN.COM