hint
and prompt
properties to guide recipients while filling out text fields:
hint
property.prompt
property.format
property allows you to control the type of input users can enter into a field. This property can accept either predefined formats or custom regular expressions.
Format | Description |
---|---|
email | Email address |
zipcode-us | US ZIP code |
format_message
property. This message is displayed when the input doesn’t match the required format. For example:
format_message
is displayed to help users understand the input requirements:
width
property sets the initial width of the text input field in points (1/72 of an inch). The field can expand beyond this width as users type to accommodate longer text entries.
font_size
property controls the size of the text displayed within the input field, measured in points. The default font size is 12 points.
text_input
.captures
object of the Envelope.required
or optional
. The default is required
.email
or zipcode-us
. Alternatively, a regular expression can be used, enclosed in forward slashes.Learn more in Format Validation.