Message – WS Form

MessagePRO

The message field isĀ  used to show an message on your form. It can be used to display helpful information to a user completing your form.

To learn how to add, edit, clone, move, resize, offset, or delete an message field, please click here.

When editing an message field, the field settings sidebar will appear. This contains the following tabs:

You can edit any of the settings in each of these tabs, and then click the ‘Save’ button to save your changes. If you do not want to save your changes, you can click the ‘Cancel’ button or click any other form element to close the field settings sidebar.

Basic

The basic tab contains settings that the majority of WS Form users will need to control a field. The settings are as follows:

Label

The label is used solely for identifying the message field when editing your form. The label is not shown to the website visitor.

Hidden

If checked the field will be hidden on the form. It can be shown again using conditional logic or your own JavaScript.

Type

Select the type of message you would like to display. Each type of message is shown in a different color. The options are:

  • Success (Green)
  • Information (Blue)
  • Warning (Yellow)
  • Danger (Red)

Content

Enter the text you want to show in your message.

Exclusions

Exclude From Emails

By default, WS Form uses the #email_submission variable in email templates. This provides a simple way of displaying all of the submitted fields in emails. Sometimes there might be a need to exclude a field from an email, for example, you might want to not include some introductory copy on a form, or hide a field you’re using with conditional logic to show or hide an element.

To hide a field from emails, check this box.

Other WS Form add-ons may add exclusions in this section too, such as the WooCommerce add-on which allows you to exclude certain fields from the cart entries.

Advanced

The advanced tab contains additional form attribute settings that provide further control over how a field is rendered.

Styles

Use the ‘Styles’ settings to change the design of the message field.

Vertical Alignment

The vertical alignment option allows you to choose how this field will be vertically aligned in relation to fields in the same row. The options are:

  • Top
  • Middle
  • Bottom

Classes

For developers WS Form allows you to add your own classes to fields.

Wrapper CSS Classes

The wrapper CSS class setting enables you to add a class (or classes) to a field wrapper. Field wrappers are sections of HTML added around a field to position them on the page. To add multiple classes, add a space between the class names.

Breakpoints

The breakpoint settings define the width of a field and also what the offset (how many columns from the left-hand side of the form or the previous field) of a field is for each breakpoint. For more information about the breakpoint settings and capabilities of WS Form, click here.