Welcome to the LimeSurvey Community Forum

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

Prefilled text based on answer previous question

More
8 years 9 months ago #161247 by Melrmarly_131702
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.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose