Prefill data from Image Picker widget

  • nearfall806
    Asked on June 25, 2024 at 4:45 PM

    How would you suggest i handle doing the profile on the widget "image picker" we need the items they pick from the "Mock-up Request" & the Colors They picked from the same form... I can't seem to get the profile to work on those two items?

    Thank you..

  • Deanne JotForm Support
    Replied on June 25, 2024 at 4:46 PM

    Hi nearfall806,

    Just to confirm if I understood it correctly, do you want to prefill another form using the data from the image picker widget? If so, Prefill does not support widgets. It only supports the following:

    • Full Name
    • Email
    • Address
    • Short Text
    • Long Text
    • Fill in the Blank
    • Phone
    • Number
    • Date Picker
    • Time
    • Dropdown
    • Single Choice
    • Multiple Choice
    • Scale Rating
    • Spinner

    As a workaround, you can just pass a text instead of an image to another form since the Short Text element is supported.

    You can also check these FAQs on Jotform Prefill to know more about it.

  • nearfall806
    Replied on June 25, 2024 at 5:01 PM

    so are you telling me the text descriptions from the image picker widget can be passed on to the form? can you explain a little more please? if so that would work. Would the color swatch picker i have do the same?


  • Aravir JotForm Support
    Replied on June 25, 2024 at 5:37 PM

    Hi nearfall806,

    You cannot pass the value of a selected option from the Image Picker widget but you can pass the image label into a Short Text field by creating an Update/Calculate Field conditional logic. Let me show you an example:

    1. In Form Builder, add a Short Text element. Prefill data from Image Picker widget Image 1 Screenshot 60
    2. Next, click on Settings at the top.
    3. Click on Conditions on the left side
    4. Then select Update/Calculate Field. Prefill data from Image Picker widget Image 2 Screenshot 71
    5. Create the condition in the screenshot below and click on Save. Prefill data from Image Picker widget Image 3 Screenshot 82

    Checkout the screencast below to see the result:

    Prefill data from Image Picker widget Image 4 Screenshot 93

    As for the color swatch picker, are you referring to the field in the screenshot below?

    Prefill data from Image Picker widget Image 5 Screenshot 104

    If yes, you can create the same condition but since it's a Multiple Choice element and the label is in image HTML tag, we need to assign a calculation value on each option to get the label. Also, can you explain a bit more about your requirements? Where are you planning to pass the value? Are you trying to pass it to another form?

    After we hear back from you, we’ll have a better idea of what’s going on and how to help.

  • nearfall806
    Replied on June 26, 2024 at 9:08 AM

    yes the colors need to go from the mock-up form to the "3 Choices" form just to verify the job info for production.

    Prefill data from Image Picker widget Image 1 Screenshot 20

  • Gian JotForm Support
    Replied on June 26, 2024 at 10:35 AM

    Hi nearfall806,

    I’ll need a bit of time to look into this. I’ll get back to you shortly.

    Let us know if there's anything else we can help.

  • Gian JotForm Support
    Replied on June 26, 2024 at 10:42 AM

    Hi nearfall806,

    I checked your two forms and I am unable to see the color swatch picker on your form anymore, it seems that is is deleted. Can you take a screenshot of the field where the user needs to pick a color from the initial form and which field you need to pass that value on to the target form?

    Let us know if there's anything else we can help.

  • nearfall806
    Replied on June 26, 2024 at 11:25 AM

    it is on "Mock-Up Request Form"

  • Filip JotForm Support
    Replied on June 26, 2024 at 11:39 AM

    Hi nearfall806,

    Can you take a screenshot of the field where the user needs to pick a color from the initial form and send it to us? We’ve got a guide here that’ll show you how to do that.

    Once we hear back from you, we'll be able to move forward with a solution.

  • nearfall806
    Replied on June 26, 2024 at 1:18 PM

    That's another weird thing is the swatches sometimes show up and like in the screen shot a couple show "?"

    Prefill data from Image Picker widget Image 1 Screenshot 20 Screenshot 10

  • Deanne JotForm Support
    Replied on June 26, 2024 at 1:32 PM

    Hi nearfall806,

    Since this is related to another topic, I've moved this to another thread to avoid confusion. You can check it out here.

 
Your Answer