Skip to main content

Creating a Form

To create a form, you need to enter the form name in the "Name" field and a unique

Marker
in the "Marker" field. After clicking the "Add" button, the form will appear in the forms table.

Editing a Form

To edit a form, you need to click the "Edit" button in the "Actions" column of the forms table.

Edit

For forms, there are four tabs available during editing:

  • Basic data
  • Form fields
  • Settings
  • Linked pages

1. Basic data

The "Basic data" tab contains three input fields:

  • Form name (for CMS) - the name of the form that will be displayed in the Headless CMS OneEntry interface
  • Form title (for the site) - the name of the form for your website or mobile application
  • Marker
    - a unique identifier to retrieve the form (only Latin letters and the symbols "_" and "-" are allowed for input)

These three form parameters can be changed while on the "Basic data" tab.

2. Form fields

The "Form fields" tab contains three dropdown lists for selecting the form type, Template, and Attribute Set.

The attribute set in this case consists of the fields of the form.

In Headless CMS OneEntry, there are three types of forms:

  • Order form - type for order forms
  • Sign in and register - type intended for authentication and registration forms
  • Data submission - type intended for all other forms

3. Settings

The "Settings" tab is intended to specify the messages that will be displayed upon form submission. There are two input fields:

  • Message about successful data processing - text input field for the message in case of successful form submission
  • Message about unsuccessful data processing - text input field for the message in case of an error during form submission

4. Linked pages

The "Linked pages" tab contains a search bar

page
and a tree view
of pages
. This tab is needed to link the edited form with
pages
. To establish a link, you need to select
pages
from the
pages
list. In the screenshot below, the form "demo_form" is linked to the
pages
"catalog" and "we".

Linked pages

5. Data sent by the form

For forms of the type "Data submission," there is a tab "Data sent by the form," which displays the data submitted through the form. This tab contains a dropdown list with the form fields that need to be displayed in the table below the dropdown list. Each row of the table represents data submitted by a user of your system, and the columns are the form fields you selected in the dropdown list. There are also two default columns: "Date" - the date the data was submitted through the form, "Actions" - one action available "Delete."