1. Fields
  2. Text Field

Fields

Text Field

The Text Field is an input field that allows for entering a single line of text.

Basic usage

Adds a text field to the fields of an action.

loading...

Result

The field will be displayed as a text input field as below: Preview of a text field in a form

The resultant data will be available in the stubpost.data as:

loading...

This can be substituted with eg. ~~stubpost.data.firstname where required.

Parameters

See fields for common field parameters like validation and conditional rendering.

params.parse_string

If set to true, string values will be parsed and the field's output will be a number or a boolean when parsed successfully.

Default: false