Signature pad question type and browse

What would you like to see in CSPro?
Forum rules
New release: CSPro 8.0
Post Reply
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Signature pad question type and browse

Post 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,
G.VOLNY, a CSProuser from Haiti, since 2004
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Signature pad question type and browse

Post 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).
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Signature pad question type and browse

Post 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,
G.VOLNY, a CSProuser from Haiti, since 2004
Post Reply