(Please note that older articles might not render correctly in mobile view.)
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.
These data types can be collected with multiple Question Types:
|Text Field||Dropdown, Radiobutton, Multiselect||Button Group|
|Email Data Type||✓||✓||✓|
|URL Data Type||✓||✓||✓|
The properties for these three data types are as straightforward as the data types themselves.
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.
The URL data type is often made read-only with a default value, or populated from a data source 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 ProntoForms app: This will open the link without leaving the ProntoForms app, essentially opening a browser within the confines of the ProntoForms app.
- Open the link in an external web browser: This will open the link in the default browser for the mobile device.
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.
If both options are selected, then the user will see a popup that allows them to choose between calling or sending a text message.
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".