How can we set answers for select cells in a side-by-side matrix ? | XM Community
Skip to main content
Solved

How can we set answers for select cells in a side-by-side matrix ?

  • December 17, 2018
  • 1 reply
  • 29 views

I want to auto-fill responses to some cells in a side-by-side matrix based on previous responses - I understand we can capture the data with piped/ embedded text option, but how can we assign the values to the cells ( I have drop down option for the side-by-side matrix)

Best answer by TomG

@KumarA_156, Let's says the select you want change the value of is the jQuery object stored in the variable 'select' and you want to change the selected value to choiceid 1, then: ``` select.val("1").change(); ```

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • December 17, 2018
@KumarA_156, Let's says the select you want change the value of is the jQuery object stored in the variable 'select' and you want to change the selected value to choiceid 1, then: ``` select.val("1").change(); ```