Submit a form via a link

  • Views Views: 9,697
  • 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
      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
  • First you must edit your form and under the "form processing" tab - set the "spoof check" option to "no"

    Then you can build your link as follows:

    Code:

    index.php?option=com_fabrik&task=form.process&formid=1

    replace the 1 in "formid=1" with your form id.

    Then for each field you want to insert data into add '&tablename___elementname=value'

    e.g.

    Code:

    &contacts___name=rob

    Thus, for my example form my final 'add' link will look like this:

    HTML:

    <a href="index.php?option=com_fabrik&task=form.process&formid=1&contacts___name=rob">Add a contact</a>
Back
Top