Page 1 of 1

Signature pad question type and browse

Posted: November 3rd, 2019, 9:27 pm
by htuser
Dear CSPro Developer Team,
We would like to know if we can have signature pad as a question type and also a way to browse for attaching files such as pdf in CSEntry?
Why?
a) signature pad as a question type because right now, multiple census or survey require a signature for free and informed consent...CSEntry doesn't give us this...
Allow us to port this Javascript librairy: https://github.com/szimek/signature_pad to logic can help us to solve.
A live example: https://jsfiddle.net/szimek/d6a78gwq/
Since you already port some Javascript librairies to CSPro (For example, in Map object), so i image that, this may be not so difficult..
other CAPI system such as Survey Solutions, ODK etc. allow this.

b) browse for attaching files Often, on the field, we ask enumerators to scan some documents such as identity card, driver licence and more to verify some informations such as age etc. Scan from camera software offer better results than photography. But store, mainly in PDF who's better than jpg. So, we must attach them to specific question, who's difficult right now with CSPro.
It's very easy to do that with this object: https://www.w3schools.com/jsref/dom_obj_fileupload.asp

Again, other CAPI system such as Survey Solutions, ODK etc. allow this.

Thanks in advance for taking our suggestions in consideration.

Best Regards,

Re: Signature pad question type and browse

Posted: November 4th, 2019, 2:59 pm
by Gregory Martin
We plan to add a signature option in a future release.

I doubt that we'll add an option for allowing people to upload files as that exposes the file system to enumerators in a way that is probably not commonly necessary. If you want enumerators to select a file, you could currently build that yourself in logic using the dirlist function and displaying the files to the enumerator (using showarray or list.show functions).

Re: Signature pad question type and browse

Posted: November 4th, 2019, 3:08 pm
by htuser
Thank you Greg for response.
Thank you for the signature pad.

Dirlist and show.list can do the job instead of browse.
However, the path are absolute when using dirlist.
It would be better to have it in relative...


Best Regards,