Using prior answers inside questions
In addition to show/hide logic, you can reference a prior answer directly inside the text of a later question. This is useful for personalizing question wording or confirming what the client previously entered. Use the${VariableName} syntax anywhere in a question’s label, helper text, or answer choices:
SpouseName, you can offer it as a choice later:
SpouseName, Choice A will display as “Richard” in the questionnaire.
Showing conditional text inside a question
You can display different text within a question’s instruction block based on a prior answer. Use this pattern in an Instruction block:Specialized Formatting
Document formatting can be done directly in the document using standard Word features, so you will not need the instructions below for document formatting.
Customize fonts in your questions
| If you write | It will display |
|---|---|
*My italic text* | My italic text |
**My bold text** | My bold text |
***My bold and italic text*** | My bold and italic text |
“emphasized text | emphasized text |
Add grey line dividers
To add grey line dividers between phrases, use three or more dashed lines on a separate line, separated by hard returns like so:Add a hyperlink
If you write:Add a Button hyperlink
You can add a button anywhere in your interview workflow to link to any site, like this:Add bullet points
Use the* sign and skip a line to add a bullet point, like this:
Add additional line breaks
Use<br> to add a line space, like this:
Change the sizing of questions
Use# signs to increase or decrease the standard size of the font on the questionnaire. For example, using:
Create an “Email To” link
To allow someone to click on your link and have it open up an email address, use the following:Create a “Call Phone Number” link
To allow someone to click on your link and have it attempt to call a phone number, you can use the following:Create a collapsible section of text (accordion)
The following will allow you to create a collapsible section. Replace only the text inside the tags below:Incorporate Videos and Files
Embed videos, images and files on the pages of your workflow to provide users more guidance or visuals.Add Videos to your workflow
To embed a YouTube or Vimeo video into your workflow, you should:- Go to your YouTube or Vimeo video, and get the shareable link.
- Use the ID of that URL (the end of the URL) between brackets like this: [YOUTUBE urlhere] or [VIMEO VideoIDhere] and add this where you want the video to appear in your workflow.
Example:
If your URL is https://youtu.be/ee1j5a1_Stk, you will use: [YOUTUBE ee1j5a1_Stk].Add Images to your workflow
Images work the same way, except that you first need to load your image as follows:- Add your image file to Gavel under Dashboard > Files > Images
- Reference the file name where you want it to appear in your questionnaire like this:
[FILE FileName.png]
If you want your file to be larger, you can amplify it to a certain percentage of the original file. For example, the following will render an image that is 200% of the original file size: [FILE FileName.png, 200%]Add Documents and Document Previews
Adding Word or PDF documents within your questionnaire allows you to provide your users with supplemental materials or display document previews before collecting payment. To add a document preview into your workflow, you should:- Add the document to your workflow under Documents Templates
- Reference the file name where you want it to appear in your questionnaire like this:
${DocumentName}
You can specify the file type displayed by adding the file type extension to the end of the document name, like this:
${DocumentName.docx} ${DocumentName.pdf}
Your users can click on the document preview to download the file.
If you do not want to generate a copy of these documents at the end of the workflow, you can hide them using output document logic.
