This article explains the various field types available in Formulayt. The field type determines what input will be displayed to the user, and the type of data it is able to accept. It is important that the corresponding field on the receiving field is of an appropriate type. For example, a large text field requires a multi-line input with a high character limit on the receiving form.


Simple Text field types are presented as a single line and a character limit can be applied if required. 


Large Text field types are presented as a paragraph block and a character limit can be applied if required.


Checkboxes field types are presented as a small box a user can ticked accompanied by a label. A checked value must be provided e.g. '1', 'yes' or 'true'.


Email Address fields have build in validation which checks for proper formatting i.e. address@domain.com

 

Phone Number fields only accept numbers and includes a prefix dropdown with is linked to the country field.


Country Selector is a dropdown list of countries and their corresponding flags. Using the GeoIP detection built into all Formulayt forms, the selector will attempt to determine the user's country and pre-populate this for them to save them time. The dropdown options can be changed by following the guidance here. 


URL field types have built in validation which checks for proper formatting i.e. www.domain.com


Picklist field types present users with various options in a dropdown menu.

When using picklists, the labels to be displayed to the user and the values to be returned to the marketing automation platform must be provided. 


Top Tip - You can bulk add picklist options by submitting a list with one option per line in the format: 

Value|Label 

Value|Label 

Value|Label 


You will also be shown extra translations options when using picklists:


Translate picklist option labels - Determines whether the picklist option labels (visible to the user) should be made available for translation.


Translate picklist option values - Determine whether the picklist option values (not visible to the user, this is what is sent on form submission) should be made available for translation.


Prevent the picklist option labels from being translated using root language values if the gate is using a sub-language (e.g. de-ch cannot inherit from de) - Don't use root language values. This option can be used to prevent a picklist from inheriting a translation from a root language, if the gate is using a subculture language. An example of this might be a business department dropdown, where only certain options should appear in certain languages (e.g. an option might appear in German (de) but not Swiss German (de-ch)). This option is normally used in conjunction with the 'Hide any picklist options that don't have a translated label' option to control which options appear in which language.


Hide any picklist options that don’t have a translated label - If activated, this option will cause any picklist options that don't have a translation to be hidden, instead of being displayed in the default language (which is normally English). This may be useful for fields like salutations. In English we have Mr, Mrs, Miss, Ms, Dr etc. In German Herr and Frau is usually sufficient, activating this functionality would avoid having Herr and Frau repeated unnecessarily in the picklist.


Sort picklist option in alphabetical order after translation - This option will cause picklists to be sorted alphabetically after translation, instead of displaying in the order that they are entered in. Activating this field will help the user find what they are looking for more quickly once the labels have been translated e.g. a state or province picklist. However, you may choose not to use this feature if the list has a specific order like a products or nature of enquiry.


Multiselect picklists are field types where the user can submit multiple options. if you choose to allow multiple selections you will also have the option to display the picklist as a Checkbox group

By default a multiselect picklist will submit as an input array, which the receiving platform must be able to process. If required you can submit the selected options a comma separated value (CSV) list and submitted in a single field.


Radio Button Group field types are similar to checkboxes however the user can only select one option in the group. 


Custom Content field types provide you with a HTML block where you can enter content. This is often used to create labels or add extra information to a form. 


Hidden Field types are added to every form type and never shown to the user. Hidden fields are used pass additional information on submission e.g. Asset Name, Campaign ID, UTMs and Page URL.