Phone

Summary

The Phone field allows users to enter a phone number. The field will automatically format the entered data based on the selected phone format in the General settings (see note below). It is available under the Advanced Fields section within the form editor.

Gforms Phone Field Icon

Phone field as displayed in the Field Library

Gforms Phone Field

Phone field as displayed in the Form Editor.

Common Settings

This field uses only common field settings for the Appearance and Advanced settings. For a description of each of the common field settings, refer to this article. Below you will find description of specialty settings that are particular to this field.

General Settings

Gforms Phone Field General Settings
SettingDescription
Phone FormatAvailable options are:
• domestic US/CANADA style phone number.
• long format international phone number.

Custom Format

To change the format for international use you can use a Single Line Text field with an input mask. You can learn more about input masks in this article.

Merge Tags

For more information on the use of merge tags, refer to these articles.

Usage

{Field Name:2}

Notes:

  • The first of these merge tag parameters is optional and is simply the field name for easier identification.
  • The second parameter defines the field ID within the form. In the example above, it would be field ID 2.

Modifiers

This field does not have any modifiers.

HTML5 Input Type

In order to utilize the HTML5 tel input type for the phone field, you must have Output HTML5 turned on within the General Settings page. This is found under Forms -> Settings.