File upload button in other questions

More
1 week 1 day ago #175347 by gbl_amorim
gbl_amorim created the topic: File upload button in other questions
Hi, I would like to know if it is possible to make a upload button work in other questions. I've already made 2 question themes with the upload question button using the file upload question code(attachment below), but every time I click in this button it says: "Uncaught TypeError: upload_ is not a function at HTMLAnchorElement.onclick", I couldn't find the code that make it work properlly and I need that because my survey may need a file to most questions and if I make 1 file upload question for each question it would be too extensive.

Thanks in advance.

$config = '3.14.5';
$config = 355;
$config = '180815';
$config = true;
$config = '30055';
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 19 hours ago - 1 week 19 hours ago #175375 by tpartner
tpartner replied the topic: File upload button in other questions
I don't see how that could work. Aside from the necessary Javascript not being loaded, there would be no column in the database for the upload data.

Have a look at this post about how to incorporate an upload type question into another question - www.limesurvey.org/forum/can-i-do-this-w...d-with-arrays#172223

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 1 week 19 hours ago by tpartner.
The following user(s) said Thank You: gbl_amorim

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!