How to build a open ended text with multiple text entry boxes? | XM Community
Skip to main content

Hi all,

I'm trying to include a open-ended question in my survey. Participants need to submit two text entries in two boxes in a "form" style; for example:

My answer is {ENTRY BOX1}.

Because I think {ENTRY BOX 2} is better than {ENTRY BOX3}

 

How can I code this in javascript, so that the static text is in a way like above? I also make sure the entry boxes 2 and 3 are on the same line. Thank you for your help!

@Fred.Q 

You would need to include it in HTML of question and based on ID push each text box data in an embedded data.

<p>My answer is <input type="text" id="entryBox1" />.</p>
<p>Because I think <input type="text" id="entryBox2" /> is better than <input type="text" id="entryBox3" />.</p>

You would need to write JavaScript to push.

Hope it helps!


Leave a Reply