Form Element Options
Option Name | Option Value | Available in form elements |
---|---|---|
Active | Form Element status. If set to “No” won’t be displayed to users. | __ALL__ |
Checked | If the checkbox should be checked by default | checkbox |
Default | Default values the field should display. Users can change this value. | text textarea phone number country hidden select url date |
Disabled | If this field should be disabled. The user won’t be able to change any default value in the field. | text |
Hint | A more extensive description that complements the ‘placeholder’ text. This text will be displayed below the form element itself. | text textarea image grid rating file phone number url date select country file checkbox radios checkboxes |
HTML | HTML text to be displayed | html |
Map | Map the form element value to a subscriber. If the field is an email and the subscriber do not exist, a new one will be created. | email |
Multiple | Allows multiple file uploads. | image file |
Name | The field names. This value will be showed to users | __ALL__ |
Options | Used for elements that accept multiple options. One option per line. | radios |
Params | Accepts a list, separated by a comma, of params to be checked against the current URL. This is used in the hidden form field to grab values from the URL. Imagine you want to track the submission origin. A user clicks on this link: http://www.mystore.com/invitation?site=bears. If in the params list is a “site” value, the value “bears” will be passed to the form and stored in the hidden field you are editing. | hidden |
Pattern | A REGEX validation pattern to validate field value. Please make sure the REGEX you enter this field. | text textarea phone number url date |
Placeholder | This text will be shown inside the form to help users understand what value should be inserted. As soon as the cursor hits the field, this text disappears. | text textarea phone number url |
Required | If filling the field is required. | text textarea file phone number url date select country file checkbox radios checkboxes grid rating image |
Unique | If the value in the field should be unique to all submissions. This “unique” restriction is per form and not globally. The same unique value can be submitted in different forms. | text |
Allowed Extensions | Extensions allowed for file upload | file |
CSS Class | A CSS class to be added to the input tag | text textarea phone number file url date select country file checkbox radios checkboxes grid rating image |
Map to Customer | Maps the input value inserted by the customer to a customer attribute | email |
Max Date | Maximum date value allowed in the field | date |
Max File Size | Maximum upload file size | file |
Max Height | Maximum element Height | image |
Max length | Element maximum length | text |
Max Number | The Highest number accepted in the field | number |
Max Width | Maximum element width | image |
Min Date | Minimum date value allowed in the field | date |
Min Height | Minimum element Height | image |
Min Length | Element minimum length | text |
Min Number | The Lowest number accepted in the field | number |
Min Width | Minimum element width | image |
Resize | Resize element if out of proportions | image |
Sort Order | The field position when building the form | __ALL__ |
Stars | Show stars for rating | rating |
Validate Entry | If set to yes, the customer needs to validate the entry through a link sent to the specified email in the form | |
Protected | If set to yes, files will me moved to a custom path, potentially outside the public root, so no direct access using a URL will be possible | image file |
Encrypted | If the file content should be encrypted using Magento© key. If yes, the file content can only be viewed in Magento© admin. | image file |
Multiple | The number of files allowed to upload in a single form element | file image |