1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.
    Dismiss Notice

Confirmation form plugin

Jun 30, 2017
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
      }
    });
     
    To complete, I found that in another post ( from Hugh, just tested):

    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

    }