1. Fields
  2. Telephone Field

Fields

Telephone Field

The Telephone Field is an input field that allows for entering a single telephone number in the correct international format. It provides a country flag to ensure the correct country code is supplied. It also provides a good level of validation in an attempt to ensure the telephone number entered is valid.

Basic usage

Adds a telephone field to the fields of an action.

loading...

Result

Preview of a telephone field

Parameters

See fields for common parameters.

Output Data

loading...

telephone_number: Will adopt the name of the field and will contain the telephone number in international notation.

telephone_number_details: contains meta data about the field. Will adopt the name of the field with "_details" appended.

is_valid_number: boolean. Indicates true if the number conforms to the selected / detected countries telephone number structure / format.

selected_country: outputs information about the selected / detected country.

The data that will be added into stub.data will be as follows: