- Posts: 63
- Thank you received: 6
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="application/javascript"> function transpose(a) { return Object.keys(a[0]).map(function (c) { return a.map(function (r) { return r[c]; }); }); } </script> <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('#question{QID}').hide(); var givennames = decodeURIComponent(transpose({FILES})[1].join('~|~')); $("#answer{SGQ}").val(givennames).trigger('keyup'); }); </script>
{if(FILES_filecount == '0', '', 'files:<ol><li>' + str_replace('~|~', '</li><li>', LIST) + '</li></ol>')}
Please Log in to join the conversation.
[1]
[3]
var givennames = decodeURIComponent(transpose({FILES})[3].join('~|~'));
Please Log in to join the conversation.
Please Log in to join the conversation.