Check out the LimeSurvey source code on GitHub!

Show Results of File Upload Question in Subsequent Question

3 years 6 days ago #103340 by dweisser
Hi all,

Using Expression Manager, I can see the results of the file upload question in the survey.

{fileupload.NAOK} =

Two questions.

1. If I want to show this reulst in a subsequent question, I think I would need to parse this array, and utilize the URL of the image to present it back to the user.

2. I've read some posts indicating that downloading the uploading file is problematic. One can manually browse the responses of a live survey and download the image easily enough, but downloading the file directly from the server is a little problematic. Star.gif is chnanged into into fu_456yddyvpxdxzq8 and stored in the survey's directory without a file extension.

If one wanted to use the image in an email template for example, this is problematic.

Perhaps a javascript function could be written to "store the file twice - once as it is for use as LimeSurvey intends it, and again in a secondary location in its orginal form. Perhaps it would be easiest to include a non-native fileupload function for this purpose. Perhaps there is another solution.

Interested in your thoughts on 1 and 2.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form