A PDF array field is a group of similar items. Creating an array tells Anvil that you have many items of the same type and helps Anvil automatically populate repeated fields for you.
Arrays are typically used to fill in multiple line items on tables or lists. You can think of arrays as the column headers within a table. For example, if you are trying to fill in an invoice, you would create separate arrays that group together all of the item names, item descriptions, and item prices. You can then assign the names all at once and Anvil will populate a separate row for each item name. Repeat the process for item descriptions and prices to create individual row values for each category.
Learn more about how to add a list to a Webform and map a list to a PDF array.
A single box that can be selected on a PDF or Webform. Boxes will be filled in with an x.
Webform checkbox type fields have the following options:
To limit the selection of checkboxes to one option, use a radio group.
By using the Combine another field into this one action in the Webform field editor, you can combine two or more fields into a single field. The fields must be of the same type for this to work.
By combining fields you can reduce the number of times a user is asked to provide the same information, but still have the information mapped to all of the corresponding PDF fields.
Learn more about combining fields that are the same here.
A PDF field consisting of a day, month, and year. Includes the following common date formats when filling in the blank PDF field:
A PDF date field can be connected to a Webform date calendar picker or date dropdown field.
A Webform field with a calendar component for selecting dates. Best used for dates that are close to the current date with the following options:
Learn how to format a date selector in a Webform here.
A Webform field that consists of three dropdowns for selecting a date: a month, day and year. Best used for dates that are far away from the current date, such as birthdays.
Date dropdown fields have the following options:
The year limits are tracked relative to the current year. If you set the Min year to 1911 and the Max year to 2011 and one year passes, the field automatically updates the Min year to 1912 and the Max year to 2012.
Learn how to format a date selector in a webform here.
A PDF or Webform field that accepts a decimal number with up to two decimal places.
A Webform decimal number type field has the following options:
Automatically localize numbers.A PDF decimal number type field supports the following formatting options:
Localized formatting:
Delimiters:
Precision:
A value that can be preset for the Webform field. Default values have the following options:
Learn how to add a default value to a Webform field here.
A longer explanation about the type of information a Webform field is requesting. The description appears below the label.
A field for collecting dollar values on a PDF or Webform.
A Webform dollar type field can have the following options:
A PDF dollar type field can be formatted in the following ways:
A Webform field that limits the user to multiple pre-prescribed options from which they can select one.
A Webform dropdown type field can have the following options:
Often, a Webform dropdown is mapped to a PDF radio group.
A field for collecting email addresses on a PDF or Webform. An email type field automatically validates that the email address is in a proper email address format.
A Webform field to show embedded video files to someone completing the Webform. Includes the option to change the aspect ratio or allow for full screen video.
A value used to uniquely identify Webform fields. Field alias IDs can be reused across multiple Workflows, making them beneficial for developers who are identifying similar fields across Workflows when integrating with API.
A Webform field that allows users to upload files to the Workflow. If the user is completing the Workflow from a mobile device, they will also have the option to access their camera and take a photo to be uploaded.
A Webform file upload type field can have the following options:
A Webform name field that allows for one First Name, one Middle Initial, and one to two Last Names.
A Webform first and last name type field has the following options:
A Webform first and last name field can be mapped to a PDF name field.
A PDF field for placing an image onto a PDF. Images support a maximum of 800px in any given dimension.
A PDF image field has the following options:
An image field can be mapped to a file upload field on a Webform.
A PDF field that specifies where a signature initial is needed. An initial field is not mapped to a Webform field, but instead marked to be signed by an added signer.
A PDF or Webform field for collecting integer values (whole numbers, positive and negative).
A Webform integer type field can have the following options:
Automatically localize numbers.A PDF integer type field supports the following formatting options:
Localized formatting:
Delimiters:
A Webform field for collecting international address information that can be mapped to a PDF US address field.
A Webform international address type field has the following options:
To map a Webform international address field to a PDF field, see instructions on how to map to a PDF US address field.
The bolded name that appears above a field on a Webform.
A Webform list field allows a user to add multiple items of grouped pieces of information. The total number of items is determined by the user completing the Workflow.
Each item in the list can contain multiple input fields of any type except for another list field. For example, a Workflow may ask the user to list all of their children, each child’s birthday and upload a photo. Each list item would contain a name field, date field and file upload field. The Webform list field would allow for the user to keep adding children until all of their children have been listed.
Most commonly, Webform list fields are used to complete tables or lists (configured as arrays) on a PDF. Learn how to add a list to a Webform and map a list to a PDF.
AND/OR conditions that allow you to dynamically show or hide fields, pages, or documents depending on whether the specific field is relevant to the user completing the form.
A large, freeform space for general text input on a PDF or Webform. Text will automatically wrap to new lines within this field type.
A Webform long text field will automatically wrap and scroll text, allowing the user to see everything they enter in the input box. Webform long text fields support the following option:
A PDF long text field will automatically wrap text based on the width of the box.
A PDF field for a person's name. Supports First Name, Middle Initial, and one to two Last Names. This is a compound PDF field, you can map a name to a single box, or separate boxes for First, Middle and Last Names.
A PDF name field supports the following formats:
A PDF name field can be mapped to a Webform First and Last name field.
A Webform text field that allows for only numeric input with the following field options:
• in place of the numbers. This will also encrypt the field information.Most commonly mapped to a PDF short text field.
A Webform field that is not required to be filled. Make a field optional by selecting the Make this field optional checkbox in the Webform field editor.
Learn more about how to make a field optional on a Webform here.
A field for collecting percentage values on a PDF or Webform with up to one decimal place.
A Webform percent type field has the following options:
Automatically localize numbers.A PDF percent field type can be formatted in the following ways:
Localized formatting:
Precision:
Percent Sign:
A field for collecting phone numbers on a PDF or Webform.
A Webform phone type field will have the following options:
Use strict validation .+ symbol will be added by default.A PDF phone type field will have the following format options:
A suggested value for a Webform field meant to help users better understand what type of information is expected for the field. Placeholder text will be visible until a user inputs data into the field.
A Webform field group of options displayed as buttons that allows for a single selection. Defaults to editable "yes " and "no" options and you can add as many options as you need. When the field is made optional, an editable clear button is supported. Button sizes can optionally be set to compact and/or full width.
For single select fields with many options, you may want to use a dropdown. Often, a Webform radio buttons field is mapped to a PDF radio group.
A PDF field group of checkboxes where only one can be selected. The selected option will be filled with an x.
A PDF radio group can be mapped to Webform dropdown or radio buttons field. Learn more about creating a PDF radio group here.
An open text PDF or Webform field best used for short pieces of information. On a PDF this is usually single-line, pre-defined space for input. A short text field accepts any alphanumeric text, including symbols like "-, *, &, ., ?" etc."
A Webform short text field is most commonly mapped to a PDF short text field, though any Webform field can be mapped to a PDF short text field.
A PDF field that specifies where a signature is needed. A signature field is not mapped to a Webform field, but instead marked to be signed by an added signer.
Signatures will automatically scale based on the signature field height.
A PDF field that specifies where a date is needed during the e-signing process. A signature date field is not mapped to a Webform field, but instead marked to be signed by an added signer.
A PDF signature date field will have the following format options:
An encrypted field for entering social security numbers on a PDF or Webform that is formatted as xx-xxx-xxxx.
Social security number Webform fields will automatically be masked after a user has finished editing the field.
A PDF social security number field can support the following format options:
If you need a social security number to be printed as a single number per box, use a PDF text: Boxes per letter field type instead.
An encrypted field for entering EIN numbers on a PDF or Webform. Numbers will be automatically masked and formatted as xx-xxxxxxx.
EIN numbers will be automatically masked after a user has finished editing the field.
A PDF EIN number field can support the following format options:
If you need a Tax ID number to be printed as a single number per box, use a PDF text: Boxes per letter field type instead.
A PDF field that accommodates forms where a box or space is provided for each character. This format is often used for phone numbers and social security numbers.
By default, this type of PDF field is mapped to a short text Webform field, but can be mapped to any type of Webform field.
Learn how to create Text: boxes per letter on a PDF here.
A PDF field that accommodates forms where there is a separate space for each new line within a paragraph. This format is useful when there are pre-printed lines on a form or the space for text to be filled is not a standard retangular shape.
By default, this type of PDF field is mapped to a short text Webform field, but can be mapped to any type of Webform field.
To learn how to create Text: boxes per line on a PDF, follow the instructions for how to create Text:boxes per letter here.
A PDF or Webform field for collecting US address information.
A Webform US address type field has the following option:
A PDF US address type file has the following formatting options:
Learn how to map multiple parts of an address to a PDF US address field.
back to articles