DIAL function

DIAL(PhoneNumber?) DIAL(PhoneNumber?)

PhoneNumber

Text (optional)

The phone number. This is a text string and not a true number, meaning that phone numbers like "(311) 555-2368" and "+46 40-6280481" work well.

Returns

Nothing

This function does not return a value.

Offers to dial a phone number. DIAL("(311) 555-2368")DIAL("(311) 555-2368") offers to dial (311) 555-2368.

This function can only be used from an action formula. It is typically invoked from a formula associated with the OnPress property of a formula button.

If this function is invoked on a phone, the phone's dialer is typically brought up, with the given phone number pre-filled. Otherwise, the behavior varies from launching an installed app (like Skype), to doing nothing.

Examples

DIAL()DIAL()

Brings up the phone's dialer, without a phone number pre-filled. If this function is not run on a phone, the behavior varies.

DIAL("(311) 555-2368")DIAL("(311) 555-2368")

Brings up the phone's dialer with the phone number (311) 555-2368 pre-filled. If this function is not run on a phone, the behavior varies.

DIAL(PhoneNumber)DIAL(PhoneNumber)

Brings up the phone's dialer with the phone number entered into the text field PhoneNumber pre-filled. If this function is not run on a phone, the behavior varies.