Forms in the widget
With the help of forms in the widget you can request additional data from the client: e-mail, phone, name, title or any additional text information.
{{form;{name};{associate};{required}}}
Parameters
* — required fields
Parameters
|
Value |
---|---|
form* | Service identifier of the form |
name* | Field Header |
associate* |
Variable to which the information specified in the field will be added Possible values:
You can also use the ID of an additional field. It will contain the value specified by the client. The following types of additional fields are supported:
|
required |
Field mandatory flag Possible values:
By default: false |
Examples of using form fields
{{form;First and Last Name;name;true}} — The field with the title "First and Last Name", the data will be recorded as the client's name, is mandatory;
{{form;Mail;email;true}} — The field with the title "Mail", the data will be recorded as the client's mail, is mandatory.