Textarea Widget
The Textarea widget allows users to input multi-line text in forms and interfaces. It provides extensive configuration options for validation, styling, and behavior customization.

Basic ConfigurationDirect link to Basic Configuration
- Name: Display label for the textarea field
- Variable/Model: The variable name used to store and retrieve the textarea value
- Default Value: Pre-filled text content (supports dynamic values). In the panel, the field starts at 5 lines and grows up to 10, with the placeholder Text or =formula. It is the same editor as on the Input widget: see Dynamic Default Values
- Static text:
Default description - Dynamic value:
{{user.name}}'s description - Formula:
="Prefix: " + {{variable}} - In a loop,
{{field}}reads the field of the same row: see Rules, Default Values and Texts of a Row - A dynamic value follows its variables: when one of them changes, the value is recomputed and replaces what the user typed
- Static text:
- On Change: The actions to run when the value changes (see Event Context)
At runtime, the field shows 5 lines of text. The user can enlarge it with the handle in its corner.

Events and ActionsDirect link to Events and Actions
On ChangeDirect link to On Change
In the Global card, the Action on field change button of the On Change line attaches an action to the widget. Once it is attached, View attached action opens the Actions drawer. The actions run when the user has changed the value and leaves the field.
Event ContextDirect link to Event Context
Actions receive SF_input object containing:
value: Current textarea contentSF_currentIndex: Loop index (if in repeated context)

Validation ScreenDirect link to Validation Screen
Screen-Based ValidationDirect link to Screen-Based Validation
Configure different behaviors across multiple screens/views:
- Available: Controls if the widget exists on the screen
- Visible: Controls visibility (supports conditions)
- Required: Makes field mandatory on specific screens
- Disable: Prevents user interaction
Screen Configuration ExamplesDirect link to Screen Configuration Examples

Advanced ConditionsDirect link to Advanced Conditions
Use dynamic conditions for screen validation. Click Advanced Setting under the screens: each cell becomes a pencil that opens the Advanced Setting Condition dialog. With a screen selected in the All Screens selector above the canvas, the card lists that screen only, and the pencil of each line (Visible, Required, Disable) opens the dialog directly.
- Write a condition in JavaScript; the variables of the page go between double braces, for example
{{status}} === 'Draft' - Apply sets the condition for this screen, Apply to All screens for every screen
- Easy Setting goes back to the switches

Validation RulesDirect link to Validation Rules
Built-in RulesDirect link to Built-in Rules
In the Rules card, Add rule adds a line: the type of rule, its value and the message shown when the rule is not met. The Required switch of the Validation card makes the field mandatory.
- Min (Char): Requires a minimum number of characters
- Max (Char): Limits the number of characters
- Type: The type expected for the value (
array,date,number) - Email: The value must be an e-mail address
- Regex: Regular expression validation
- Custom: A condition the value must meet

StylingDirect link to Styling
- Placeholder: Hint text displayed when field is empty
- Width: Field width (
100%,300px,auto) - Class: Custom CSS classes
- Dynamic classes (the brush button next to Class): Apply conditional CSS classes based on data

Best PracticesDirect link to Best Practices
PerformanceDirect link to Performance
- Consider lazy loading for large forms
User ExperienceDirect link to User Experience
- Provide clear placeholder text
- Use appropriate validation messages
- Consider character counters for length limits
- Implement auto-save for long content
AccessibilityDirect link to Accessibility
- Ensure proper labeling
- Maintain logical tab order
- Provide clear error messages
- Support keyboard navigation
Data HandlingDirect link to Data Handling
- Validate on both client and server
- Handle special characters properly
- Consider text encoding for different languages
- Implement proper sanitization for security
This comprehensive configuration system allows for flexible and powerful textarea implementations suitable for various application requirements.