Restrict Take Photo widget to only take real time photo instead of having an option to upload a file

  • donlonjack
    Asked on February 26, 2020 at 2:27 AM

    I am using this widget on a jotform that will be utilized primarily from mobile devices. I notice that on certain devices it offers the user an option to upload a file, take a video or use the camera.

    I am hopeful there is a way that this can be completely disabled so the user is limited to ONLY using the camera to submitting a photo.

    The application is used during a fishing contest and we need to insure the user is actually taking a picture using the camera and sending in real time.

    I understand we can verify in the pic info but people will not be confident if they think someone can simply upload a pic they have on their phone from another day.

    Thanks!

  • Vanessa_T
    Replied on February 26, 2020 at 8:02 AM

    As far as I have encountered, the Take Photo widget will always open your camera.

    If you are instead using the File Upload field, this does offer your users to either use the camera or upload a file when being filled out using a mobile device.

    Restrict Take Photo widget to only take real time photo instead of having an option to upload a file Image 10

    Do let us know if it is still not the case for you and kindly share the form URL as well as the device and browser details where you are being prompted to upload a file instead of opening the camera directly.

    Where-to-Find-My-Form-URL

  • donlonjack
    Replied on February 26, 2020 at 2:07 PM

    Thanks for the response.

    Here is the flow of screen shots followed by the URL- 


    1582743104Screenshot 20200226 134259 Chr Screenshot 10   1582743234Screenshot2 20200226 134322 Ch Screenshot 21   1582743299Screenshot3 20200226 134332 An Screenshot 32   1582743963Screenshot4 20200226 134345 Fi Screenshot 43

    In some instances when you tap the "take Photo" button it goes directly to camera- 


    Which is what I want and need- 

    Here is the URL

    https://form.jotform.com/donlonjack/striper-challenge-2020-verify

    Any assistance you can offer would be greatly appreciated.

    Thanks!


  • Albert_G
    Replied on February 26, 2020 at 6:07 PM

    Hi donlonjack,

    Thank you for sending the link to your form and some screenshots over.

    I tested this form on my phone (Samsung A50s, Android 10). The camera was used after I've given permission for access.

    I can see that you're also using an Android phone, can you please let us know what specific phone and android version it is running? What browser are you using?

    I can also see that two different things happened:

    1. Take Photo

    2. Choose File

    Did this happen on two separate occasions or did choose file show up after take photo?

    This will help us better understand what's happening.

    Looking forward to hearing from you.

    Thank you.

  • donlonjack
    Replied on February 26, 2020 at 6:24 PM

    Hi Albert, 

    Thanks for taking the time to assist. 

    The order in which you see the screen shots is actually how it flows.

    So yes, there is a Take Photo and then a choose file.

    The device is a Galaxy Note 10 plus 

    The browser is Chrome.

    For the record- It works fine on my laptop and that uses Chrome.

    Thanks

  • Vanessa_T
    Replied on February 26, 2020 at 9:48 PM

    I tried to replicate the issue you had and it seems to only happen when you had previously blocked JotForm from using your camera.

    Restrict Take Photo widget to only take real time photo instead of having an option to upload a file Image 10

    Once you have selected Block, all attempts by the Take Photo widget to use Camera will be rejected and you'll be shown the Choose File button instead.

    Restrict Take Photo widget to only take real time photo instead of having an option to upload a file Image 21

    Please completely clear your browser cache and retest. Make sure that you choose Allow when prompted.

    How-to-clear-web-storage-in-your-browser