Canvas Components
Form Fields Component
Explains the form fields canvas component for hosted Webchat. Useful for collecting structured input with Stubber field types inside chat.
Render forms and collect user input within the webchat interface.
Example Usage
Field Types
Supported field types include:
checkbox- Boolean checkbox inputtext- Text input fieldtextarea- Multi-line text inputselect- Dropdown selection- And more
Configure fields in the initial_form.spec.fields object with the field type and parameters.
Conditioning of Form Fields
Hide form sections based on other fields. For example, display a section only when a checkbox is checked.
Output:
