Access uploaded filename in email confirmation

More
3 years 9 months ago #101136 by stevelegare
stevelegare created the topic: Access uploaded filename in email confirmation
I was wondering if I can access the filename of an upload file question in a confirmation email?

I put the {INSERTANS:214687X11X94} tag but it returns an array with all datas (ext, size, filename, etc.).

Can I access only the filename in this array?

Thanks.

Please Log in to join the conversation.

More
3 years 7 months ago - 3 years 7 months ago #103339 by dweisser
dweisser replied the topic: Access uploaded filename in email confirmation
I know this is an older post, but...
Have you tried storing the name of the file once uploaded in a hidden question using Expression Manager?
I know the email templates can reference that easily enough. Combining it with the server location of the image file will allow you to present not only the name of the image but the image itself in your email template.

Example:
<img src="http://www.example.com/survey/upload/surveys/527453/images/{HiddenQuestion.shown}" />

I hope it helps,
David
Last Edit: 3 years 7 months ago by DenisChenu. Reason: Replace existing domain by example

Please Log in to join the conversation.

More
3 years 6 months ago #103830 by stevelegare
stevelegare replied the topic: Access uploaded filename in email confirmation
Thanks for your answer.
I will test it soon.

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now