- Білдер
- Початок роботи з Codejig Builder
- How to
- Web page editor
- How to create a custom field in the Web Pages Editor
How to create a custom field in the Web Pages Editor
We recommend to use default Codejig Fields, available from Web pages directly. If a user is unable to create logic with default Fields (Text, Date, Email, Table and others), then he/she can create/import other necessary fields.
For example, one has Company type. To use it in the Web page, a user adds this field from the EXISTING FIELDS section from the Web pages editor and uses it.
All the Fields are divided into three kinds:
1) Regular - can contain data of a specific type only, they are used to form composite types.
2) Collection - iterable kind, equivalent to arrays.
3) Dynamic - aren’t tied to a specific data type. Dynamic fields Aren’t recommended for entry users.
A Name will be automatically inserted based on the Data Type you choose. You can specify a Name of your own.
If “Is transient” is marked, then the values of a field will not be stored in the Database. The Transient fields are good just for using and representing the data.
GDPR sensitive: the data will be saved according to GDPR standards.
After that, you can drag and drop a type you have created.
A Web page view is just a representation of a Data Type, so you need to remember that If you delete an element from a Web view, it still belongs to the specific Data type and will be shown in the EXISTING FIELDS. That includes both default and your custom Fields.