Photo Upload Widget: Allow taking new photo or uploading existing one

  • H
    Harding
    Asked on November 24, 2025 at 4:48 PM

    Is it possible to configure this widget so it can either take photo or upload one previously taken on the device?

  • Profile Image
    Kris JotForm Support
    Replied on November 24, 2025 at 6:25 PM

    Hi Harding,

    Thanks for reaching out to Jotform Support. Currently, the Take Photo widget's main function is to capture images using the device's camera. To allow uploading an image, you'll need to use the File Upload element. Here's an idea, you can add a Single Choice element asking the user if they want to take a photo or upload an image.

    If they choose to take a photo, the Take Photo widget will show. But if it's upload image, the File Upload element will show. This is possible through the help of the Show/Hide Field condition. Doing this is easy, I've created a demo you can look at below:

    Adding form elements and widgets:

    1. In Form Builder, click on the Add Element on the left side.
    2. Under the Form Elements, on the Basic tab, scroll down and add the Single Choice element and the File Upload element
    3. Then go to the Widgets tab and search for the Take Photo widget. Then drag and drop it to whichever part of the form page you prefer.
      
Photo Upload Widget: Allow taking new photo or uploading existing one
Image-1

    Labeling form element and adding conditions:

    1. In Form Builder, select the Single Choice element.
    2. Label the Single Choice element and add the options.
      
Photo Upload Widget: Allow taking new photo or uploading existing one
Image-2
    3. In Form Builder, on the orange navigation bar on top, go to the Settings tab.
    4. Now, select Conditions from the left menu. Select the condition if you don't have an existing condition. But if there is, click on the Add condition button.
      
Photo Upload Widget: Allow taking new photo or uploading existing one
Image-3
    5. Choose the Show/Hide Field condition and create the conditions shown in the screenshots below;
      
Photo Upload Widget: Allow taking new photo or uploading existing one
Image-4
Photo Upload Widget: Allow taking new photo or uploading existing one
Image-5
    6. Finally, click on the Save button.

    Here's a screencast of the demo form:

    
Photo Upload Widget: Allow taking new photo or uploading existing one
Image-6

    Let us know if you have any other questions.