Forms contain the following general properties:
- Item Title — A description of the content you're modifying. For example: "cat"
- Data Table — The MySQL table that contains the data you're modifying.
- Enable Tagging — Enables the ability to tag content through the Tagging System
- Return URL — If you want to specify a URL to return to after submitting the form, enter it here. By default a form will try to return to the view it is related to.
- Preprocessing Function — A function to call to modify data before running field type processors. Read More About Hooks
- Function Callback — A function to call after the data has been submitted to the database. Read More About Hooks
After choosing a Data Table, the "Fields" section of a form editor will be populated. If you're creating a new form, the fields table will contain all non-reserved columns. If you're editing an existing form you will see the fields that are actively being used by the form (all unused non-reserved columns will be in the field picker in the top right corner of the table).
Each field contains a Title, Subtitle, and Type. The Title is the primary label drawn on the form and the Subtitle is drawn next to it in smaller text. The Type column refers to the Field Type to use when drawing this field in the form. Fields can be positioned in the form by dragging the icon vertically. Field Type Options can be edited by clicking the icon next to the field type. Clicking the icon will remove the field from the form and place it in the field type picker in the top right corner of the table. Removing a field from your form will not remove the column from your table.