Welcome to the LimeSurvey Community Forum

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

Submit automatically when user downloads a file

  • francescovalle84
  • francescovalle84's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #189812 by francescovalle84
Submit automatically when user downloads a file was created by francescovalle84
Hi,

I have created a survey with a file (link to a resource). I would like to automatically submit the survey when the user downloads the file.

It is possible?

Thank you,
Francesco
The topic has been locked.
  • gabrieljenik
  • gabrieljenik's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
4 years 5 months ago #189814 by gabrieljenik
Replied by gabrieljenik on topic Submit automatically when user downloads a file
Maybe some JS that is triggered by the download link:
- setTimeout to 10secs
- trigger submit click
- return true as to allow the natural behaviour of the link.

It could work...

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #189826 by DenisChenu
Replied by DenisChenu on topic Submit automatically when user downloads a file

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose