Skip to content

Telephone

A Telephone field holds one phone number that the client types: a mobile, fixed-line or VoIP number, in Israel or in another country. It is available in HTML templates only.

A new Telephone field is Required, and both the client and the agent can edit it. For the settings that all fields share, such as the label, the permissions, the dependencies and the default value, see Field settings.

Setting What it does
Show clear buttons Shows an X button that empties the field. The button appears while the client edits a field that has a value, and only to viewers who can edit the field.

On the Validation tab, choose which numbers are accepted:

Mobile Fixed Accepted numbers
On On Mobile, fixed-line and VoIP numbers (the default)
On Off Mobile numbers only
Off On Fixed-line and VoIP numbers only
Off Off Any valid phone number, including toll-free and other special numbers, such as 1-800 numbers

You can also set Error if no value entered, the message shown when the field is required and empty.

A Telephone field has no Error Message Invalid and no Regex Validation. The messages for a number that is not accepted can’t be changed. See Error messages.

The form checks the number when the field has a value. An empty field is checked only for Required. A number with no country code is checked by the numbering rules of Israel.

  • Spaces, hyphens (-), dots (.), slashes (/) and parentheses can separate the digits. They don’t change the number: 050-XXXXXXX, 050 XXX XXXX and (050) XXXXXXX are the same number.
  • Write an Israeli number with its leading 0, for example 05X-XXXXXXX, or with the country code instead of the 0: +972 5X-XXXXXXX, 972 5X-XXXXXXX or 00972 5X-XXXXXXX.
  • Type the number only, without words or letters.
Type Starts with Digits, with the leading 0 Accepted with
Mobile 05 10, for example 05X-XXXXXXX Mobile
Fixed line 02, 03, 04, 08, 09 9, for example 0X-XXXXXXX Fixed
VoIP 07, for example 072, 073, 074, 076, 077 and 079 10, for example 07X-XXXXXXX Fixed
Toll-free and special numbers 1-800, 1-700, 1-599, 1-900 Mobile and Fixed both off
Star numbers *, for example *XXXX Never accepted

When Mobile and Fixed are both off, all these types except star numbers are accepted.

Only number ranges that are in use are accepted. A made-up number can be rejected even when its prefix and its length are right. To test a form, use a real number, such as your own.

  • Start the number with “+” or “00” and the country code, for example +44 .... A number without them is checked as an Israeli number, and is usually rejected.
  • The number is checked by the rules of its country, and Mobile and Fixed work as they do for Israeli numbers.
  • In some countries, such as the United States and Canada (+1), the number doesn’t show whether it is a mobile or a fixed-line number. These numbers are accepted only when Mobile and Fixed are both off.

If the number is not accepted, the form shows a message under the field. The client can’t submit the form, or move to the next page, until the number is fixed.

When Message in English Message in Hebrew
The value isn’t a valid phone number. Or Mobile and Fixed are on, and the number is not a mobile, fixed-line or VoIP number, for example a 1-800 number. Invalid phone number מספר טלפון אינו תקין
Only Mobile is on, and the number isn’t a mobile number. Invalid mobile phone number מספר טלפון נייד אינו תקין
Only Fixed is on, and the number isn’t a fixed-line or VoIP number. Invalid landline number מספר טלפון קווי אינו תקין

The number is saved as the client typed it, with its spaces and hyphens. It isn’t changed to an international format.

You can use the number:

In conditions, a Telephone field supports Empty, Not Empty, Equal and Contains.