Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

File upload button in other questions

  • gbl_amorim
  • gbl_amorim's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #175347 by gbl_amorim
File upload button in other questions was created by gbl_amorim
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:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago - 5 years 5 months ago #175375 by tpartner
Replied by tpartner on 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: 5 years 5 months ago by tpartner.
The following user(s) said Thank You: gbl_amorim
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose