Form Element Options

Filipe Sá

Last Update a day ago

Option NameOption ValueAvailable in form elements
ActiveForm Element status. If set to “No” won’t be displayed to users.__ALL__
CheckedIf the checkbox should be checked by defaultcheckbox
DisabledIf this field should be disabled. The user won’t be able to change any default value in the field.text
textarea
email
phone
number
url
date
select
country
radios
checkboxes
DisabledIf this field should be disabled. The user won’t be able to change any default value in the field.text
textarea
email
phone
number
url
date
select
country
radios
checkboxes
HintA more extensive description that complements the ‘placeholder’ text. This text will be displayed below the form element itself.text
textarea
image
grid
rating
file
email
phone
number
url
date
select
country
file
checkbox
radios
checkboxes
HTMLHTML text to be displayedhtml
MapMap 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
phone
date
country
text
radios
select
checkboxes
number
url
MultipleAllows multiple file uploads.image
file
NameThe field names. This value will be showed to users__ALL__
OptionsUsed for elements that accept multiple options. One option per line.radios
checkboxes
select
ParamsAccepts 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
PatternA REGEX validation pattern to validate field value. Please make sure the REGEX you enter this field.text
textarea
email
phone
number
url
date
PlaceholderThis 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
email
phone
number
url
RequiredIf filling the field is required.text
textarea
file
email
phone
number
url
date
select
country
file
checkbox
radios
checkboxes
grid
rating
image
UniqueIf 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
email
phone
number
url
Allowed ExtensionsExtensions allowed for file uploadfile
image
CSS ClassA CSS class to be added to the input tagtext
textarea
email
phone
number
file
url
date
select
country
file
checkbox
radios
checkboxes
grid
rating
image
Map to CustomerMaps the input value inserted by the customer to a customer attributeemail
phone
date
country
text
radios
select
checkboxes
number
url
Max DateMaximum date value allowed in the fielddate
Max File SizeMaximum upload file sizefile
image
Max HeightMaximum element Heightimage
Max lengthElement maximum lengthtext
textarea
phone
number
Max NumberThe Highest number accepted in the fieldnumber
Max WidthMaximum element widthimage
Min DateMinimum date value allowed in the fielddate
Min HeightMinimum element Heightimage
Min LengthElement minimum lengthtext
textarea
phone
number
Min NumberThe Lowest number accepted in the fieldnumber
Min WidthMinimum element widthimage
ResizeResize element if out of proportionsimage
Sort OrderThe field position when building the form__ALL__
StarsShow stars for ratingrating
Validate EntryIf set to yes, the customer needs to validate the entry through a link sent to the specified email in the formemail
ProtectedIf 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 possibleimage
file
EncryptedIf the file content should be encrypted using Magento© key. If yes, the file content can only be viewed in Magento© admin.image
file
MultipleThe number of files allowed to upload in a single form elementfile
image

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us