Welcome to the LimeSurvey Community Forum

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

File upload question condition/conditions

  • dawidmos
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #203807 by dawidmos
Hi!

There is any way to crate conditions for 'file upload' question type?
I mean only if user upload file then he see next question.

Regards,
David.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203808 by Joffm
Replied by Joffm on topic File upload question condition/conditions
What exactly do you want to achieve?

That the next question is only displayed, if a file was uploaded?
In this case it is always the best to activate the survey, enter some data and have a look at the responses.
Here you see how you can address the needed variables.

You will see that
in QCode the filename is stored
in QCode_filecount the number of uploaded files is stored.

So you may use one of them, either e.g. "!is_empty(QCode)" or "QCode_filecount>0".
It's up to you.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: dawidmos
The topic has been locked.
  • dawidmos
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #203809 by dawidmos
Replied by dawidmos on topic File upload question condition/conditions
Yes, this is it. Thank you!

Best Regards,
David.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose