Web Development Documentation

Visforms: Configuring a form to send email

Overview

This procedure describes how to configure a form to send submitted data via email using Visforms.  More detailed documentation on using Visforms can be found here.


Getting Started: Select a form

  • Log into the Joomla! administrator page for your web site
  • Click on Components > Visforms (see #1 below):

    Components > Visforms
  • Select the Forms icon:

    Visforms Dashboard: "Forms" icon
  • Select the name of the form you would like to enable email for:

    Visforms: Form selection

Configure options for result mail

The "result email" is the message that will be sent when the form is submitted. The result email should be sent to the person responsible for handling the form submission.

  • Click on the Mail Options tab (see #1 below).

    Visforms: "Mail Options" tab
  • Make sure Yes is selected next to Email Result (see #1 below)
  • For Mail From Address (see #2 below), enter the email address that the result email should be sent from.  You can use your own email address or a departmental email address for this. You can also use "This email address is being protected from spambots. You need JavaScript enabled to view it." if nobody should reply to the email.
  • For Mail From Name (see #3 below), insert the name that should appear in the result email's "From" field. This could be an actual person's name, or the name of the form.
  • For Mail To (see #4 below), enter the email address where the form results should be sent.
  • For Mail Subject (see #5 below) enter the text to appear in the subject line of the result mail.

    Visforms: Options for result mail
  • Optional: If text should appear before the results in the email, enter the text in the text area for Result Mail Text.
  • Click Save at the top to save your changes: joomla3 save-and-close button

Configure options for recipient mail

The recipient email is the message that will be sent to the person who submitted the form.

  • Scroll down to the "Options for recipient mail" section of the "Mail options" tab.
  • Make sure Yes is selected next to Email Receipt (see #1 below).
  • For Email Receipt Subject (see #2 below), enter the subject line for the recipient email (e.g.: "Thank You For Submitting").
  • For Mail From Address (see #3 below), enter the email address that the recipient email will be sent from. This could be the same email address used for the result mail.
  • For Mail From Name (see #4 below), enter the name that should appear in the recipient email's "From" field.  This could be the name of an actual person, or your unit's name.
  • For Email Receipt Text (see #5 below), enter the text to appear in the body of the recipient email.  This can be a short thank you message, or other text confirming that the form was submitted.

    Visforms: Options for recipient mail

  • Click Save at the top to save your changes: joomla3 save-and-close button

Set up result page (submission confirmation)

The result page is what will appear when the form has been submitted.

  • Click the Result tab (see #1 below).
  • Under Text Result, enter a message to be displayed on the website after the form is submitted (for example, "Thank you for your submission!") (see #2 below).

    Visforms: Result page
  • When done, select "Save & Close:" "Save & Close" button

What's next?

If needed, you can configure your form to save information within the website.

It is also a good idea to set up a ReCaptcha to prevent the form from being used for spam. See the section "Adding CAPTCHA to your form" in the "Visforms: Form Setup" page.