Input Types
In Alpaco you can have many different input types, separated or grouped together to form sets of settings.
These are the current allowed Input Types:
​Text String
- A single line of text with no formatting options.
- Multi-line text input with simple formatting options.
​Select
- Select/Dropdown of predefined values.
​Boolean
- On/off toggle/switch.
- Image upload or URL input.
​Color picker
- Color picking wheel w/ eyedrop tool.
- Ability to insert raw code.
How to get started?
Simply open up your Base or Block, depending on where you want your input, navigate to the Right panel, click the button called "Add input" and select your input type from the dropdown. Just like with Input Groups, the Name and Key needs to be inserted and given a proper name.

Validate Inputs
Validating inputs and give warnings is an essential part of handing over your template to others users. By using validation rules you can add clarity to what the intended use for an input should be. All Input types have a dropdown option in the Template Editor where multiple validation rules can be added and they all come with an option to make a Custom Error Message per validation rule, for each input field.

If an input is not validated in the Email Editor, the user will be informed of the error, taken to where the error is, have the error highlighted and prevented from saving the email before adhering to the specific input requirement.

Required field
This field must be blank
​Text String Textarea ​Select ​Boolean ​Image ​Color picker ​Code
Must Not Be Default
This field must not be indentical to the default content
​Text String Textarea ​Select ​Boolean ​Image ​Color picker ​Code
Regex
Define any form of regular expression you want. Be that URL, numbers, wordings ect.
Last updated