The Agreement Terms Box allows you to have content in a scrollable box within a survey question. This content can be placed inside a scrollable box preventing vertical scrolling on the page.
Example
You would like to provide Terms and Conditions text at the beginning of your survey.
Detailed Steps
Creation and Setup of Questions:
- Click on the Questionnaire tab of your survey.
- Create an Text Instruction question type where the terms will be displayed.
Note: This script will work for all question types.
Script Preparation
- Open Notepad or a similar text editor
- Copy and paste the script found in the Script section below into Notepad
- [YOUR CONTENT HERE] should be replaced with the text required.
Script
<!--
Script Name: How do I add an agreement terms box with scrollbar ?
To ensure your script works as expected, always copy the original script from the script library found in the support portal. Failure to use the most up to date script from the script library may cause unexpected results.
-->
<DIV style="background: rgb(255, 255, 255); border-width: 1px; border-style: solid; border-color: rgb(77, 77, 77) rgb(172, 170, 170) rgb(172, 170, 170); padding: 10px; width: 90%; height: 250px; color: rgb(0, 0, 0); overflow: auto;">
[YOUR CONTENT HERE]
</DIV>
Script Usage
- In the survey, find the Instruction Text or question type you created previously.
- Click, and activate the question text editor in the question you created.
- When it is active, click the HTML button to switch the editor to HTML mode.
- Copy and paste the completed script from Notepad in to the question text editor.
- Update and Validate your survey.
Comments
0 comments
Article is closed for comments.