Limesurvey pre-fill

Asked by Arri Morris

I have a LAMP server hosting Limesurvey version 2.73.1+171220 on Ubuntu 16.04.
I would really like to integrate queXF to pre-fill the survey.
The ideal scenario would be:

1. We have the first question ask the survey respondent to upload the PDF if they have completed the paper version (the queXML PDF document)
2. queXF works on the back end, takes the file upload, and creates the "unverified" version of the data
3. That unverified version of the scanned data gets populated into the current survey

Is this possible? Has it already been done?

Question information

Language:
English Edit question
Status:
Answered
For:
queXF Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adam Zammit (adamzammit) said :
#1

Hi Arri,

We have not integrated with Limesurvey in that way, but it would be possible.

You would need to configure queXF to monitor the directory where the PDF files are uploaded. You would also need a way to identify how the PDF connects with the survey.

It would probably be more straightforward to write a small portal where the PDF is uploaded. and then processed by queXF which then populates the Limesurvey survey and returns the ID of the response - it could then pass to the respondent a way to review the responses in Limesurvey and make any necessary changes / additions.

queXF would need to be slightly modified to accept "unverified" data and publish it directly to Limesurvey. This would only be a minor change.

It sounds like an interesting project! Please get in contact if you need more assistance.

Kind Regards,
Adam Zammit

Revision history for this message
Arri Morris (arriferrari) said :
#2

I am very new to the Ubuntu/PHP coding languages. I’m good at modifying existing architecture, but I wouldn’t know where to begin if I had to write a new file. The odds are that I will be able to muddle on through a good start. I doubt I could finish this on my own.

Since we don’t have this functionality yet, consider this a feature request with an assistant chef. Could you point me to the relevant parts of queXF that would need to be modified so I could pass a PDF from Limesurvey? I think that’s as far as I would be able to take it. I’m planning to have queXF in a sub directory of Limesurvey. There’s no particular rush. The idea of this project is that it gives participants a chance to skip doing double entry while still leaving the ball in their court.

Revision history for this message
Adam Zammit (adamzammit) said :
#3

queXF could be pointed to read the "uploads" directory in Limesurvey where forms would be uploaded. This would be straightforward. The issue would be the linkage of the processed response back to the respondent.

If you would like us to provide a cost estimate for developing this function please let me know - otherwise I would be happy to assist with more specific requests for assistance via this system.

Adam

Can you help with this problem?

Provide an answer of your own, or ask Arri Morris for more information if necessary.

To post a message you must log in.