- Posts: 94
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
My first question is answered now. Open or closed: Closed.I had some external data i would like import these data in the server and then retrieved that data from data file and show in the survey on basis of id
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
</script><script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:complete',function() { var id = '{Q1}'; Papa.parse("/lime6/upload/surveys/{SID}/files/test1.csv", { download: true, header: true, skipEmptyLines: true, complete: function(results) { for (i=0; i < results.data.length; i++) { if (results.data[i].id==id) { $('#question{QID} input[type="text"]:eq(0)').val(results.data[i].firstname); $('#question{QID} input[type="text"]:eq(1)').val(results.data[i].lastname); $('#question{QID} input[type="text"]:eq(2)').val(results.data[i].gender); $('#question{QID} input[type="text"]:eq(3)').val(results.data[i].age); break; } } } }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<img alt="" src="/lime6/upload/surveys/629548/images/Boot001_klein.jpg" />
Please Log in to join the conversation.