Brightspot Content Types Guide

Form submission actions


When a visitor fills out a contact form or ​custom form and clicks ​Submit​, Brightspot ingests the data and can take a variety of actions with it.


Data collection

Brightspot stores the submitted data in a raw format, and your web application can ingest the data as required.

Email

Brightspot sends an email after ingesting the data. You can configure the email to include information that the visitor submitted in the contact form using a command of the form ${parameter-name}. The following example shows how to send an email to a customer service center that includes the visitor's email address.

Step 1: Set parameter value

Create a form with an email text field. Under more_horiz> Advanced, in the Parameter field, note or change the value as required.

Email create form with text field.png

Step 2: Refer to parameter

Create an email action that uses the parameters.

Create an email action that uses parameters.png

In the previous illustration, Brightspot populates the email's body using the value visitors-email-address that the visitor entered using the form in Step 1.

Step 3: Add filtering rules

You can add filtering rules that examine email addresses before Brightspot forwards them to your email server. Brightspot processes only those email addresses that match the rule.

  1. Under more_horiz> Styles, in the Custom Pattern field, enter a regular expression.
  2. In the Custom Pattern Message field, enter a message that appears on the form should the submitted email address not conform to the regular expression.

    Email input styles content edit form.png


Referring to the previous image, if the submitted email address contains @example.com, Brightspot displays the following message:

Thank you for your interest. Please use your business email address.

External submit

Brightspot can forward a visitor's contact information to an external application. This scenario occurs when your organization manages a sales or technical support effort using an application other than Brightspot.

To configure an external form submission action:

  1. Under Actions, click External Submit Action. An Action Link form appears.
  2. Using the following table as a reference, configure the external link and the information sent to it.

Field

Description

Submit Method

GET or POST. For an explanation of these terms, see The Method Attribute. Consult with the external application's developers to determine which of these settings to use.

Main widget
URL URL of the application that ingests the visitor's data.
Advanced widget
Target

How the visitor's browser displays the response from the external application.

  • Same Window/Tab—Browser displays the external application's response in the same browser window or tab from where the visitor submitted the form. This selection replaces your form with the response.
  • New Window/Tab—Browser displays the external application's response in a new browser window or tab.
Attributes

Name and value pairs Brightspot appends to the visitor's submitted contact information. You can use this field to collect additional information about the visitor, such as from which site the visitor submitted the form.

Previous Topic
Types of form fields
Next Topic
Gallery module
Was this topic helpful?
Thanks for your feedback.
The elements that get you up and running in a matter of days, from pre-built content types, to modules, to landing pages.

Content types
Modules
Landing pages
Everything you need to manage and administer content within Brightspot CMS, including plug-and-play integrations.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting and administering code on the Brightspot platform, including integrations requiring developer support to use.

Field types
Content modeling
Rich-text elements
Images