- Posts: 10
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script> $(function() { $("question{QID} input.radio[value='{TOKEN:ATTRIBUTE_1']").click(); }); </script>
Replacingamoswagon wrote: - replaced '{QID}' with 'GENDER'
- replaced 'ATTRIBUTE_1' with 'male-female"
What am I doing wrong?
You're right, and lost some # too.amoswagon wrote: Do you have a syntax error? I think one '}' is missing after 'ATTRIBUTE_1'.
I'll try to figure it out by myself.
$(function() { $("#question{QID} input.radio[value='{TOKEN:ATTRIBUTE_1}']").click(); });
Yesamoswagon wrote: It's working! Could you believe?! :ohmy: