Data Type: Email Address, URL, and Phone Number

About

The Email Address, URL, or Phone Number Data Types ensure your mobile user is entering valid data of each type and may allow them to tap on an icon to launch an appropriate program to handle the entered data. For example, if a user enters an email address, the question can be configured to open the default email client on their mobile device containing that email address.

Compatible Question Types

These data types can be collected with multiple Question Types:

Text Field Dropdown, Radio Button, and Multiselect Button Group Card List
Email Data Type
URL Data Type
Phone Number

Data Type Properties

The properties for these three data types are as straightforward as the data types themselves.

Email

If you intend to use an Email Data Destination to send out copies of form to the address provided, you must use the Email data type. For example, if your mobile users need to send a copy of an invoice to the client, the question where they enter the client's email address must be an Email Data Type.

Allow mobile users to launch an email to this address: When enabled, this option will create a small icon in the app that can be selected by your mobile users. Tapping on the icon will automatically launch the default email app on your users' mobile device, creating an email directed to the email address entered in the form.

2018-11-03-EmailDataType-Android.png

URL

The URL data type is often made read-only with a default value or populated from a data sourceClosed Data sources, also known as "Lookups", are external sources of data that you upload or connect to TrueContext. You can reference this data in a form to populate answers or answer options. Data sources save typing, reduce errors, and make it easy to provide mobile users with only the relevant, most current data. to provide reference material to mobile users that does not fit in Help Content, or is being used in a Document.

Allow mobile users to launch a web browser from this URL: This will automatically open a browser window directed to the URL entered as answer to this question.

  • Open the link inside the Mobile App: This will open the link without leaving the app, essentially opening a browser within the app.
  • Open the link in an external web browser: This will open the link in the default browser for the mobile device.

    To prevent data loss when a customer navigates away from a Customer Feedback form, this option is only available for regular, Mobile App forms.

2018-11-03-URLDataType-Android.png

Phone Number

Allow mobile users to start a phone call to this number: This will automatically open the mobile device's default phone app with the phone number already entered, saving users from having to type the number again.

Allow mobile users to send an SMS to this number: This will automatically open the mobile device's default SMS messaging app with the phone number already entered, saving users from having to type the number again.

2018-11-03-PhoneDataType-Android.png

If both options are selected, then the user will see a popup that allows them to choose between calling or sending a text message.

Default Value

The default value will appear as an initial value when mobile users open the form. You can save your mobile users some time by entering the most common value for a question; they only have to edit it if it varies from the norm. For example, if creating a site inspection where the lead rarely changes, you might enter the lead's email address as the default on "Site Contact".