2 entry questions in a row | XM Community
Skip to main content

Hi everyone,

Like the title says , i want customize the formulary option.

 

Something like this:

 

 

In one line , have 3 open text questions.

 

thanks,

 

Hi @PedroCartes ,

This post should help you. 

Please check if the data is captured correctly.


Hi, you can create multiple text entry columns by using a Matrix question type that is set to text entry type and then adding some formatting. Beneath a Text Entry question type that is set to Single line, create a Matrix question type and set its type to Text entry, statements = 1, and scale points = 3. Update the text of the scale points and then use the Rich Content Editor to align the scale point text to the left. Then, add the below to the question's JavaScript in the Onload section:

jQuery("#"+this.questionId+" .QuestionText").hide();
jQuery("#"+this.questionId+" .c1").hide();

And add the below CSS to the Style section of the Look & Feel:

.Skin .Matrix .TE td input {
width: 90% !important;
min-height: 50px !important;
text-align: left !important;
}

.Skin .ChoiceRow:hover {
background-color: transparent !important;
}

.Skin .QuestionOuter {
padding-bottom: 0 !important;
}

The 3 columns might get a little cramped on Mobile, so you could use display logic based on Device Type to show a Form Field question type to Device Type Is Mobile and then the above Matrix Text Entry to Device Type Is Not Mobile. Then combine those answers into a single field at the bottom of the Survey Flow.


Leave a Reply