Forms.md provides a comprehensive set of input types for building multi-step forms and surveys. Each input type is designed with accessibility and user experience in mind.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/formsmd/formsmd/llms.txt
Use this file to discover all available pages before exploring further.
Text input
Collect single-line text responses from users.Basic example
Multiline text
For longer text responses, use themultiline parameter to render a textarea:
Available parameters
All input types share common parameters like
question, required, description, fieldSize, labelStyle, subfield, disabled, and autofocus.| Parameter | Type | Description |
|---|---|---|
placeholder | string | Sets the placeholder text |
multiline | true | Renders as textarea for multi-line input |
maxlength | number | Maximum allowed characters |
pattern | string | Regex pattern for validation |
value | string | Default value |
Email input
Capture email addresses with built-in validation.Email inputs use the browser’s native email validation.
URL input
Collect website URLs with proper validation.Telephone input
Capture phone numbers with international country code support.Parameters
| Parameter | Type | Description |
|---|---|---|
country | string | Default country code (e.g., “US”) |
availableCountries | string[] | Array of allowed country codes |
Password input
Securely capture passwords with masked input.Number input
Collect numeric values with optional units and constraints.Units
Display units before or after the input:Select box
Let users choose from a dropdown list.Options with custom values
Choice input
Radio buttons or checkboxes for selecting options.- Single choice
- Multiple choice
- Horizontal layout
Custom values
Picture choice
Visual selection with images.Parameters
| Parameter | Type | Description |
|---|---|---|
multiple | true | Allow multiple selections |
supersize | true | Make pictures larger |
hideLabels | true | Hide text labels |
checked | string[] | Pre-selected values |
Rating input
Collect star or heart ratings.Icon options
Valid
outOf values range from 1 to 10. The icon parameter accepts “star”, “heart”, or “hearts”.Opinion scale
Net Promoter Score (NPS) style questions.Parameters
| Parameter | Type | Description |
|---|---|---|
startAt | 0 or 1 | Starting number |
outOf | number | Maximum value (5-10) |
labelStart | string | Label for start of scale |
labelEnd | string | Label for end of scale |
Date and time inputs
Date and time inputs follow ISO 8601 format standards.
File input
Allow users to upload files.Image-only uploads
Parameters
| Parameter | Type | Description |
|---|---|---|
sizeLimit | number | Maximum file size in MB (default: 10) |
imageOnly | true | Accept only image files |
currentFile | string | URL of existing file |
Shared parameters
All input types support these common parameters:Styling and layout
Styling and layout
| Parameter | Type | Description |
|---|---|---|
fieldSize | ”sm” | Make field smaller |
labelStyle | ”classic” | Classic label appearance |
subfield | true | Smaller labels (for nested fields) |
Behavior
Behavior
| Parameter | Type | Description |
|---|---|---|
disabled | true | Disable the input |
autofocus | true | Auto-focus when slide becomes active |
HTML attributes
HTML attributes
Display conditions
Display conditions
Next steps
Theming
Customize the appearance of your forms
Localization
Support multiple languages