Hello.
I've an upload type question where the user uploads their files and can add an title or comment to it. This works as expected.
However I want to present parts of the data in a new question later on, such as its filename. But using something like {UploadQuestionCode} show what looks like an array of the different data (title, comment, name, filename etc).
How can I select to show only certain parts of this data to show instead of the whole "array"?
I've tried using what I can find from here
www.limesurvey.org/es/comunidad/foros/ca...-subsequent-question
but this doesn't work for me.
For example adding this:
Code:
function displayUploadFile(uploadFile) {
document.write('<p>test</p>');
}
to my themes custom.js and using:
Code:
<script type="text/javascript">displayUploadFile({uploadQuestionCode})</script>
doesn't show any result. And that is just trying to get any text to show.
Is there anyway to do what I'm trying to do? If possible even without any javascript.