• Fabrik4.5.1 for Joomla5.2.4

    Fabrik4.5.1 is out. This update is needed for J!5.2.4

    See Announcements

Confirmation form plugin

  • Views Views: 15,297
  • Last updated Last updated:
  • 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:

    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:
    PHP:
    if ($this->app->input->get('fabrik_confirmation', '') === '1') {
       //you are on the confirmation page
    
    } else {
       // you are NOT on the confirmation page
    
    }
Back
Top