Form

Form widget is used to create forms that are an important part of many websites. This can be registrations forms, feedback forms, order forms, and so on.

Form structure

Form structurally contains three child elements:

  • Default State – contains all form elements.

  • Success State – contains the message returned after successful form submission.

  • Error State – contains the message returned after failed form submission.

Form structure

These elements display three possible states of a Form. When a Form is created, it has Default state. This state is used to make major changes in a Form, e.g. add and remove elements, set it styles.

To control a Form in Success or Error state, you need to switch it in the Settings. For more details, see Form and fields states.

When created, a Form contains the following elements:

  • Form title
  • Name input field
  • E-mail input field
  • Submit button

More about the Form and its elements: