Explore specialized input fields in Formora like the Color Picker, and understand how advanced validation options enhance standard fields.
Color Picker (type: color)
#FF5733
), RGB values (e.g., rgb(255, 87, 51)
), or HSL.Example: Color Picker field allowing visual selection and HEX input
properties
attribute. While these aren’t separate “advanced fields,” they provide sophisticated control:
type: "text"
), you can use properties like:minLength
and maxLength
: Define character limits.pattern
: Specify a Regular Expression (Regex) for custom input validation (e.g., for specific ID formats, voucher codes).patternValidationMessage
: Customize the error message shown if the regex pattern doesn’t match.
This allows for powerful, tailored text input validation beyond basic requirements.type: "number"
), advanced properties include:minValue
and maxValue
: Set strict numerical boundaries.integerOnly
: Restrict input to whole numbers.
These ensure more precise numerical data collection.type: "file"
) offer granular control through properties:maxFileSizeMB_perFile
: Limit the size of each uploaded file.allowedFileTypes
: Specify acceptable MIME types or extensions (e.g., ["image/jpeg", "application/pdf"]
).
This helps in managing uploads and ensuring users submit appropriate files.properties
JSON object for each field. When editing a field in the Form Builder, the Properties Panel may expose these advanced options directly or through a dedicated “Advanced” or “Validation” tab for the field.