Sample Component Output

To experience the Form Container Component as well as see examples of its configuration options as well as HTML and JSON output, visit the Component Library.

Technical Details

The latest technical documentation about the Form Container Component can be found on GitHub.

Further details about developing Core Components can be found in the Core Components developer documentation.

Configure Dialog

The configure dialog allows the content author to define what actions are taken when the component is submitted.

Depending on the selected Action Type, the available options within the container will change. The available action types are:

Regardless of the type, there are general settings that apply to each action.

Post Form Data

When the form is submitted, the post form data action type will pass the submitted data on to a third party as JSON for processing.

Post Form Data options in Form Container Component's edit dialog

  • Endpoint - The fully-qualified HTTPS service that will process the data
  • Error Message - Message to display if the submission is not successful
TIP
There are additional timeout options which a system administrator can adjust to handle the processing of forwarded form data. See the technical documentation on GitHub for more information.

Mail

When the form is submitted, the mail action type will send an email to designated recipients.

Mail options in Form Container Component's edit dialog

  • Subject - The subject of the email that will be sent on form submission

  • From - The from email address of the email that will be send on form submission

  • To - The addresses of the recipients who will receive an email upon form submission

    • Tap or click the Add button to add additional addresses
    • Tap or click the Delete button to remove an email address
  • CC - The addresses of recipients who will receive a carbon copy the email sent upon form submission

    • Tap or click the Add button to add additional addresses
    • Tap or click the Delete button to remove an email address

Store Content

When the form is submitted, the content of the form will be stored in a designated repository location.

Store content options in Form Container's edit dialog

  • Content Path - Content repository path where submitted content is stored
  • View Data - Tap or click to view stored submitted data as JSON
  • Start Workflow - Configure to start a workflow with the stored content as payload upon form submission
NOTE
In order to make the management of user-data simpler and to enforce separation of concerns, it is generally not recommended to store user-generated content within the repository.
Instead use the Post Form Data action type to pass user content on to a dedicated service provider.