What are Text Sets and Alternate Text?
We name form fields in the Form Builder. However, in some cases we may wish to give a certain form field a variety of names, which are shown or hidden under different circumstances. This would be the case if we wanted to give our end users the ability to select the Language for the form. The end user would want to select their language preference, and then see the form display the field labels shown in the selected language. The form field stays the same, but the way in which it is identified changes. The available Language Options are examples of Text Sets, and the corresponding identifiers for a given form field are examples of Alternate Text.
Text Sets are simple to configure. We need to do three things in order to set up text sets. First, we need to define the set: how many languages are we offering and what are they? Second, we need to give the end user the ability to select a particular set – to choose between English, French and Spanish, using a drop-down or radio buttons. Third, we need to give each form field multiple labels which correspond with each possible set.
So let’s jump in!
To configure text sets:
- The first step in configuring text sets is to identify the possible set types. To do this, click the MENU on the Designer Form tab, then choose Text sets.
- The Test Sets dialog displays.
- Identify the sets you want to include; in this case English, Spanish and French. Click Add as needed to add additional values.
- When all values for the set have been entered, click the Save button. You’ve now successfully identified and labeled the possible types for your text sets.
- The next step is to give the end user a means of selecting the desired Text Set. Add a Drop Down or Radio Button field to the form by dragging and dropping the desired field into the Editor Window.
- Select the field, then click the Options icon under Field Properties – Additional Settings.
- The Configure options dialog displays.
- Select Text sets from the drop-down menu, then click the Save button.
- When options are configured for Text sets, the Drop Down or Radio Button field populates with the values you entered into the Text sets dialog in steps 2 and 3.
- Finally, you need to build additional labels for each form field. Since each form field label will change depending on the value selected from the Text Set drop down, you need to configure all of the possible label options for each form field.
- To configure additional labels for a form field, click the field you wish to configure, then click Alternate Text under Field Properties.
- The Alternate Texts dialog displays.
- Enter the Labels to correspond with each Text Set Value.
- You can include other information for the various Text Set values as well; Sub-Headings, Hovers, and Placeholders.
- When all values have been entered, click the Save button to save your changes, then preview your workform.