Located in file /site/modules/FormBuilder/FormBuilderForm.php
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Form
class also inherits all the methods and properties of: FormBuilderField and FormBuilderData.
Common
Name | Return | Summary | |
---|---|---|---|
Form | string | Runtime property for frameworks to populate inline styles. | |
Form | string | ||
Form | string | Duplicate submission URL | |
Form | string | Add fields to duplicate submission (textarea format string) | |
Form | string | Newline separated field names to remove from duplicate submission | |
Form | string | Key=value format string of fields to rename in duplicate submission, one per line. | |
Form Form Form | Form FormBuilderField | Add a new child to this form/field | |
Form Form Form | (nothing) | Add flag to form | |
Form | string | CSV data for Akismet | |
Form | bool int | Preset field values from GET variables? | |
Form | string | Default “back” button text | |
Form | string | Email reply-to address (also used as from address if emailFrom2 not specified) | |
Form | string | Email from address (if different from emailFrom) | |
Form | string | Email subject line | |
Form | string | Email address, addresses, or format string to send form results to | |
Form Form Form | FormBuilderEntries | Get this form's FormBuilderEntries instance | |
Form | int | Maximum days an entry is allowed to be saved in the system | |
Form | string | ||
Form | FormBuilderRender null | ||
Form | string | ||
Form | int | Form flags (see FormBuilderProcessor::formFlag* constants) | |
Form | int | Alias of $flags | |
Form | FormBuilderMain | ||
Form | string | ||
Form Form Form | mixed | Ensure that direct access to 'processor' or 'entries' goes to the right place | |
Form Form Form | array | Return a list of errors that occurred, if submitted. | |
Form Form Form | FormBuilderRender null | Get the FormBuilderRender used by this form (when available) | |
Form Form Form | null FormBuilderFramework | Get form Framework | |
Form Form Form | InputfieldForm Inputfield | Get new InputfieldForm for this Form | |
Form Form Form | int | Return quantity of paginations found in form | |
Form Form Form | array | Get array of fields having type FormBuilderPageBreak, indexed by page number | |
Form | string | ||
Form | array null | ||
Form | string null | ||
Form | int | Headline level (used above forms with pagination, 0=off) | |
Form Form Form | bool | Does form having a field with given nane? | |
Form Form Form | int | Does this form have the given flag? | |
Form Form Form | bool | Does current user have requested permission to this form? | |
Form | string | Name of honeypot field | |
Form | int | ||
Form Form Form | bool | Was the form submitted? | |
Form | string | ||
Form | array | Field names to show in entries list | |
Form | string | ||
Form | int | Mobile responsive breakpoint. | |
Form | string | ||
Form | string | Default “next” button text | |
Form | int | ||
Form | int | ||
Form | int | Maximum days to allow an incomplete/partial entry to exist in the system (default=14) | |
Form | int | Storage type to use for partial entries (0=session, 1=database) | |
Form | array | ||
Form Form Form | FormBuilderProcessor | Get processor for this form | |
Form Form Form | (nothing) | Remove flag from form | |
Form Form Form | string | Render this form's output and/or process if it has been posted. | |
Form | string | Body of auto-responder | |
Form | string | Responder from address | |
Form | string | Responder from "name" | |
Form | string | Reply-to email address for auto-responder | |
Form | string | Subject of auto-responder | |
Form | string | Field that will contain submitters email address (CSV string for multiple) | |
Form | array | ||
Form Form Form | (nothing) | Save this form | |
Form | int | Bitwise flags for save actions (see FormBuilderProcessor::saveFlag* constants) | |
Form | array | ||
Form | int | ||
Form | int | ||
Form | string | Textarea with "form_field=page_field" or "form_field=page_field.subfield" one per line. | |
Form | int | ||
Form Form Form | FormBuilderData FormBuilderField | Set property value | |
Form Form Form | (nothing) | Set the FormBuilderRender | |
Form Form Form | FormBuilderData | Set form name | |
Form | int | Use select nav above paginations? 0=off, 1=before headline, 2=after healdline, 3=after description | |
Form | bool int | Disable session tracking and CSRF protection? | |
Form | int | Maximum days a spam entry is allowed to be saved in the system | |
Form | int null | Spam flags (0=none, 2=silent, 4=verbose, 8=spam entry) | |
Form | array null | ||
Form | string | Default submit button text | |
Form | string | ||
Form | string | ||
Form | string | ||
Form | string | ||
Form | string | ||
Form | bool int | Remember form values in cookies? |
Additional methods and properties
In addition to the methods and properties above, Form
API reference based on ProcessWire core version 3.0.236