Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Prefilled text based on answer previous question

  • andrejkona
  • andrejkona's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #161247 by andrejkona
Hello,
I can not get work this code
Code:
<script type="text/javascript" charset="utf-8">
   $(document).ready(function() {
     //insert into your multiple numerical question
     $('#answer187771X1X3' input[type="text"]:eq('Malacky')).val('financial1');
     $('#answer187771X1X3' input[type="text"]:eq('Lozorno')).val('financial1');
     $('#answer187771X1X3' input[type="text"]:eq('Stupava')).val('financial1');
 
   });
</script>
It should prefilled short text area question based on answer from previous queston.
Thank you for your help
Andrej
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose