The Text component displays the text entered in the Label field to the user.
Variables can be used in the Text components.
If the text entered in the Label is longer than the size of the component being displayed it will automatically wrap to the next line.
Component Type Displays the type of this component.
Text Enter the text to be displayed for the field.
Report Label Enter the text to be displayed as the title when running the survey reports.
Font Size Set the size of the label.
Assistance Enter the text to be displayed as a help.
Width Sets the width of all components in the panel. This value can be entered as a % or in pixels (px)
Margin Sets the margins around the inside of the component. The margin can be broken down into 4 sections separated by a space. Each section can be entered as a % or in pixels (px). The 4 sections are the margins for: Top, Right, Bottom, Left.
Text Alignment Select the option to left, centre or right justify all the actions inside the panel.
Conditions If the condition returns true, then the component will be visible to the user. If condition returns false, then the component will be hidden to the user. If there is no condition specified, the component will always be displayed.
Save Select save to save the changes made and continue editing.
Save & Close Select save & close to save the changes made and close the survey.
Close Select close to cancel the changes made and close the survey.
When selecting a component that has been placed in a panel, there are 3 icons in the top right corner:
An example of using a variable:
When using variables inside a Text component, they will always start with $ and the variable name will be enclosed in { }.
The following would be entered in the ‘Label’ field of the Text component to display the first name of the agent in an opening script:
Thank you for calling, my name is ${agentInformation.firstName} how may I help you today?
agentInformation.firstName: Is a system variable that contains the first name of the agent.
An example of how to configure a condition:
In the following example, we will use a Input component that has the question: ‘May I ask you a few questions?’
For this example, the field name for this Input component is: agreement
Following the Input component, we will place a Text component that displays: ‘Thank you for your time, have a nice day.’ if the user types ‘No’ in the Input component.
The Condition that will be set in the Text component would be as follow:
surveyInformation.agreement.value == ‘No’
Variable in a survey are broken out in 3 parts:
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.