Adding Content - Advanced

How do I change what shows in an answer dynamically?

THIS IS AN ADVANCED USER FUNCTION - SO PRACTICE IN TEST FIRST

Until recently it was only possible to change the visibility of a question and its answer based upon back office data. What this means is that if you have a question: Why doesn't benefit cover all of my rent? you would need to have this question multiple times and show different answers based upon the visibility. 

 

In February 2018, we have added a function that means that it is possible to have just one question that has visibility rules in the answer so that each variation of the answer can be displayed dynamically. In this same release we have also provided the ability to do a repeating loop. I.e. instead of just: When was my last payment? You could have: How can I see all of my previous payments?  Because it will be able to go through all payments made previously and display them.

 

To provide an example the following shows a HTML table based answer that will:

  1. a) Repeat multiple rows if they are returned and
  2. b) Only show documents that are of a certain type

 

<table class="table table-striped"> 
  <thead> 
    <tr> 
      <th>Date Issued</th> 
      <th>Document Name</th> 
      <th>Download/View</th> 
    </tr> 
  </thead> 
  <tbody> 


 {