Screen components and input validation
Key Takeaway
Your custom error message appears only when your validation formula returns false. If a user leaves a required field blank, the flow shows the default standard error message instead.
A screen flow shows users screens that collect input or display information. You build each screen from screen components such as Text, Number, Lookup, and Data Table. Input validation keeps the collected data error-free. Some components check input on their own, and you can add your own check when those built-in checks aren't enough.
What a Screen element holds
A Screen element holds screen components, which fall into two groups.
| Type of component | What it does | Examples |
|---|---|---|
| Input components | Collect values | Text, Number, Currency, Date, Email, Phone, Picklist, Radio Buttons, Toggle, Slider, File Upload |
| Output and display components | Show information | Display Text, Message, Display Image, Section |
Three of the output and display components have details worth knowing:
- Message has informational, success, warning, or critical styling.
- Display Image shows images uploaded as static resources.
- Section organizes components and record fields.