You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Automatically take picture upon form submission

posted on August 21, 2024

Hi all,

 

This might be out of laserfiches capability, but just wondering if someone was filling a form through an ipad or even PC with attached camera, what are the solutions for wanting to automatically capture and store a picture upon form submission?

 

Would a custom Javascript solution even be possible?

 

Thanks

 

0 0
replied on August 24, 2024

Fantastic, thanks for the links!

 

0 0
replied on August 23, 2024

It can be done with native JS, there is a getUserMedia function to access the camera.

https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

This guide is really useful and the code works out of the box in LF Forms

https://developer.mozilla.org/en-US/docs/Web/API/Media_Capture_and_Streams_API/Taking_still_photos

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.