Pipe in question materials according to a condition table | XM Community
Skip to main content

Hi all, I would like to realize such a function:
I would like to create an html table, with specifying a particular condition, and the next contains the corresponding texts used for this condition. Then, in the real question, the code will read the table, compare the "cond" embedded data with the headers, and then pipe in the corresponding texts (which is stored in the very next element to the current ) under the current condition.
The HTML table may look like this:


 
   
  
 
 
   
 
 
   
 
 
   
 
cond1
text1
cond2
text2

I would like to achieve the following with jquery:
  1. The participants won't see the html table, but they can only see the texts for their own conditions.

  2. Though there are multiple conditions, we only need one question quota (no need to combine data from multiple questions)

  3. As a survey editor, we can edit the full texts for each condition directly.

Would be really grateful if anyone can enlighten me on this ! Thanks in advance!

Be the first to reply!

Leave a Reply