Looking for information about ProntoForms features and functionality? Visit our Product Documentation Portal.
String Concatenation combines answers from previous questions and displays the result.
A simple example of this is if you have two questions, Customer Name, and Customer Surname, you can use a String Concatenation to show a Full Name question. This can be used to skip re-entering data in a form, or to send answers in a particular format to downstream workflows. Another common use case is showing the answers from a series of key questions earlier in the form to provide a quick review of the form's contents.
An example of a String Concatenation question on an iOS device is shown below:
In the Form Builder, the String Concatenation question type appears as shown below.
The Question Edit screen for String Concatenation has 3 tabs: General, Properties, and Help Options. This article will go through each of the tabs.
The Unique ID is the reference for the question. For more information on Unique IDs, read: Overview: Unique IDs. It can either be auto-generated based on the question text, or customized.
Restrictions control how your mobile users interact with a question. They can be set on the question itself, or controlled by Conditional Logic.
|Required||Read-Only||Hidden on Device||Hidden in Reports|
|String Concatenation||✘||✘ *||✓||✓|
* This question type is Read-Only by default because the mobile user cannot directly edit the answer; all information comes from previous answers.
Properties allow you to set up your question in various ways. With String Concatenation, the Properties tab is where you set up which questions you will be pulling information from.
The properties are shown in screenshots below:
In our example above, the String Concatenation question's answer would look something like:
<Owner Name>-Appointment-<Date/Time Answer>
- Each dropdown allows you to either select the answer to an appropriate question, or set static text.
- If you select a Question, you will also have the chance to set a default value in case the question is left unanswered in the form: Value to use if not answered.
- Some question types cannot be used as references for this question type. They are: Geolocation, Image, Sketch, Information Label, Signature, Audio, File, Single Checkbox, Multiselect.
Adding "Help" content to forms gives mobile users access to support and other resources out in the field. Help content is available to users through a button embedded beside a question. Any question in the form can include a link to Youtube videos, web pages, or HTML-formatted work instructions.
For more information on Help Content, please read: V2 Forms: Adding Help Content to Questions