• Fabrik V4.4.1 is now available.

    This version corrects the Admin issue introduced by V4.4. V4.4.1 is available through the Joomla Updater or for download through your My Downloads area of our website.

    Turns out a code change intended for our 5.0dev branch inadvertantly got pushed to the 4.x branch (by me, duh!). The javascript structure in 5.0 will change considerably and part of that change took effect with the inadvertant code change.

    We have reverted the code change and released 4.4.1. V4.4 has been retracted.

    Sorry for any inconvenience.

  • A new version of Full Calendar is now available.

    See the details here

Redirect form plugin

  • Views Views: 34,194
  • Last updated Last updated:

Navigation

         Form Article Plugin Tutorial
      Autofill form plugin
      Clone form plugin
      Comment form plugin
      Email form plugin
      EXIF form plugin
      FTP form plugin
      J2store form plugin
      Kunena form plugin
      Limit form plugin
      Log Form Plugin
      Logs form plugin
      Mailchimp form plugin
      Paginate form plugin
      Paypal form plugin
      PHP form plugin
      Pingdotfm form plugin
      Receipt form plugin
      Redirect form plugin
      REST form plugin
      Slack form plugin (+)
      SMS form plugin
      Twitter form plugin
      Upsert form plugin
      VBforum form plugin
      Create a Search Form
      Accordion Form Groups
  • Introduction​

    The redirect plug-in allows you to decide where the browser should be redirected to at the end of the form submission.

    If no redirect plug-in is entered then the form will automatically redirect itself to the previous page.

    The redirect plug-in is always the form's last plug-in to be run, regardless of its order in the form's plugins section

    Options​


    redirect-options.png


    Module/Content plug-in redirect options​

    Options :
    • Jump page - The URL to redirect to once the form has successfully been submitted. The jump page can use Placeholders. Of particular relavance are the Placeholders:
      Code:
      {where_i_came_from}
      which will redirect the browser to the page loaded prior to the form.
      Code:
      {$_SERVER->REQUEST_URI}
      will redirect to the same page
    • Append jump url with data - If yes selected the the form's data is appended to the jump page url
    • Submission message - Text to display. Use Placeholders to display data collected by the form.
      • If your jump page option is left empty then this text is shown on its own page, in a popup message.
      • If your jump page points to a URL on your site then the thanks message appears as a system message.
      • If your jump page points to a URL outside of your site then the thanks message is ignored.
    • Use as search data - If 'yes' selected then the form's data is used for filtering the form's tables data.
    • Condition - PHP code which should return true or false. If it returns false then the redirect is not applied. Place holders can be used, so a simple example of a condition might be:
    • PHP:
      return (int) '{tablename___elementname}' === 1;
    The following options apply ONLY when redirecting from a content plug-in or module :
    redirect-module-opts.png


    • Context reset- Should the form be reset to a blank new entry when the redirect occurs
      • Context redirect - How should the redirect be handled:
      • Same page - the current page is reloaded with the redirect URL
      • New page - the redirect page is loaded in a new page/tab
    • Popup - the redirect page is loaded in a pop up window.
    If the context redirect is set to be 'popup' then the following Options set the popup windows location and properties :
    • Popup Width - the popup window width
    • Popup Height - the popup window height
    • Popup X Offset - the popup window X offset
    • Popup Y Offset - the popup window Y offset
    • Popup Title - the pop window's title

    Examples​


    Redirecting to a PDF view of the Submitted Record​

    Set the jump page URL to :
    Code:
    index.php?option=com_fabrik&view=form&formid=X&format=PDF&rowid={rowid}
    replace X with your form's id.
Back
Top