Bringing a text entry value from a form to another form | XM Community
Solved

Bringing a text entry value from a form to another form

  • 5 April 2019
  • 5 replies
  • 11 views

Badge
Hi there,

I would like to bring a text value from a form.

Here is an example.


!

I made the form using this thread (https://www.qualtrics.com/community/discussion/4136/1-question-multiple-text-entry-fields).


If a participant enters 'a', 'b', 'c' in each box, I will bring the values to the other form to ask another relevant question.

!

It seems like I need a java code for the question part in the second form to bring the answers in the first form.

Thanks in advance 🙂
icon

Best answer by PeeyushBansal 5 April 2019, 04:53

View original

5 replies

Userlevel 7
Badge +33
You can pipe this in lables like as below:-

${q://QID2/ChoiceTextEntryValue/1}
${q://QID2/ChoiceTextEntryValue/2}
${q://QID2/ChoiceTextEntryValue/3}

Make sure to give page break between these questions.
Badge
Thank you a lot, it works well.

May ask you one more question?

!

I want to insert "$" in front of the boxes (or inside if it is easier).

What code would you recommend?
Userlevel 7
Badge +33
Yes add like below

Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" .InputText").before("$");
});
Badge
Thank you again!
Userlevel 7
Badge +33
If you looking to enter on form , you can refer below post

https://www.qualtrics.com/community/discussion/3131/text-entry-form-with-js-to-add-text-added-text-after-box-wraps-around-to-next-line-on-mobile

Leave a Reply