
Boxed text input places are only available in envelopes with sequential signing.
Box Count
Thebox_count property determines how many individual character boxes appear. Each box accepts exactly one character from the recipient. Set this value based on the expected input length:
| Use Case | Recommended box_count |
|---|---|
| Verification code (6 digits) | 6 |
| Last 4 of SSN | 4 |
| ZIP code | 5 |
| Year (YYYY) | 4 |
| Month or Day (MM/DD) | 2 |
Hints and Prompts
You can usehint and prompt properties to guide recipients while filling out the boxes:
- Hint: A message shown as a tooltip when the user hovers over or focuses on the field. Set it using the
hintproperty. - Prompt: A placeholder-style message displayed inside the first box to indicate the expected input. Set it using the
promptproperty.
Size and Appearance
You can customize the size and appearance of boxed text input places to better fit your document layout:Width
Thewidth property sets the width of each individual box in points (1/72 of an inch).
Height
Theheight property sets the height of each individual box in points (1/72 of an inch).
Font Size
Thefont_size property controls the size of the text displayed within each box, measured in points. The default font size is 12 points.
Examples
The following examples show different ways to configure boxed text input places.Parameters
Specifies the type of place.For a boxed text input place, the value must be
boxed_text_input.A user-provided key that identifies a place within a document.It must be up to 32 characters long, using only lowercase letters, numbers, or underscores, and it must begin with a letter.
A user-provided key that identifies a recipient within an envelope.It must match one of the
recipient.key values in the envelope’s recipient list.The number of individual character boxes to display.Must be between 1 and 100. Each box accepts a single character from the recipient.
A user-defined identifier used to store the value entered by the recipient. This value will be included in the
captures object of the Envelope.Must start with a lowercase letter and contain only lowercase letters, numbers, or underscores. Maximum length is 32.A tooltip message displayed over the boxed text input field during the signing ceremony.Learn more in Hints and Prompts.
A placeholder message shown inside the first box during the signing ceremony to guide the recipient.Learn more in Hints and Prompts.
Specifies whether the recipient must fill all boxes to complete the signing ceremony.Possible values are
required or optional. The default is required.The width of each individual box in .Must be between 30 and 540. The default is 30.
The height of each individual box in .
The font size in .Must be between 6 and 12. The default is 12.