Variable questions provide a way to retrieve information from the user’s profile or calculate values from data collected in the question set.
The variable question requires you to specify a particular user profile field such as name, address line 1 or email, or to provide a formula to calculate a result. Formulas are not limited to numeric data as they can calculate dates and build strings. For more information see Formulas.
This question type is not visible to the end user in Produce, as it simply inserts a value into the generated document.
Insertion or selection bookmarks or tags can be used throughout the document to specify where the variable result is to be inserted.
How to create a variable question
1.From the toolbox, drag and drop a Variable question onto a page, section column or tab.
2. Infiniti automatically adds an answer to the new question. Set the answer’s properties as below.
3. From the Placeholders tab, drag and drop the necessary bookmarks or tags onto the answer.
| Property | Description / Examples | 
|---|
| Answer Name | Type in a unique name. | 
| Document Format | Options are: 
Percent (PERCENT)Currency (C)General Number (G)Uppercase (+)Lowercase (-)Uppercase first letter (+-)Propercase (+-+-)Number to text (ONE)Number to text uppercase (+ONE)Number to text lowercase (-ONE)Currency to text (CUR)Currency to text (CUR USD)Currency to check text (CUR ZERO USD)Left Pad (LPAD '0'1)Left Pad (RPAD '0'1)Short Date (SHORT DATE)Long Date (LONG DATE)Left number of characters (LEFT 1)Right number of characters (RIGHT 1)Trim start or end spaces (TRIM) | 
| Variable | Select which variable to use, which includes: 
[Formula]Creator User Profile
Creator idCreator NameCreator PrefixCreator First NameCreator Last NameCreator Full NameCreator SalutationCreator TitleCreator OrganizationCreator Phone NumberCreator Fax NumberCreator Email AddressCreator Street Address 1Creator Street Address 2Creator Street SuburbCreator Street StateCreator Street PostcodeCreator Street CountryCreator Postal Address 1Creator Postal Address 2Creator Postal SuburbCreator Postal StateCreator Postal PostcodeCreator Postal CountryLogon User Profile
User IdUser GuidUser NameUser PrefixUser First NameUser Last NameUser Full NameUser SalutationUser TitleUser OrganizationUser Phone NumberUser Fax NumberUser Email AddressUser Street Address 1User Street Address 2User Street SuburbUser Street StateUser Street PostcodeUser Street CountryUser Postal Address 1User Postal Address 2User Postal SuburbUser Postal StateUser Postal PostcodeUser Postal CountryUser Language (Two Letter)User Language (Full)User Default Group IdUser Group GuidUser Group NameUser Group OrganizationUser Group Phone NumberUser Group Fax NumberUser Group Email AddressUser Group Street Address 1User Group Street Address 2User Group Street SuburbUser Group Street StateUser Group Street PostcodeUser Group Street CountryUser Group Postal Address 1User Group Postal Address 2User Group Postal SuburbUser Group Postal StateUser Group Postal PostcodeUser Group Postal CountryUser CustomUser Group CustomGroupOthers
UTC DateUTC TimeSystem DateSystem TimeDateTimeRun IDRowNumberRowCountState nameConnected (True/False) | 
| Formula | Defines a formula to calculate a result based on information in the question set. For example a calculated total, or calculated age based on the date of birth. Only applies if ‘[Formula]’ is selected in the Variable property. | 
| Find Dependencies | Clicking this link will open a pop-up window that will show any dependencies that this label has. | 
 
📘
- returns "True" when the form is in a connected state and "False" when it is not
- will only apply after a PostBack has occurred