The Image Ratio Button widget is now working when included in a calculation

  • TonysCakes
    Asked on February 17, 2021 at 12:00 AM

    On my my "cake order form" I am trying to simplify the form for clients by adding the ratio image button. for the labels i made them the prices so that i can later use the form calculations widgets and or the conditions calculations. I want it to pick up the number and add them to other fields and display the results in my matrix "price break down' field at the bottom of my form. its not working out, the calculations and conditions dot want to pick up the numbers when i have the image url in the image ratio widget. if i delete the image url then it seems to work, but doest that defeat the purpose of having the image widget in the first place? can you please help me figure out how to make it work. I have been at it for a week now. 1613538750 602ca5bee79b5 Screenshot 2021 Screenshot 101613538750 602ca5becf2eb Screenshot 2021 Screenshot 211613538750 602ca5bec15e2 Screenshot 2021 Screenshot 32

    Jotform Thread 2903524 Screenshot
  • Mike_G JotForm Support
    Replied on February 17, 2021 at 4:29 AM

    The value that the Image Radio Buttons widget on your form produces is formatted like this:

    Image Label: Image URL

    Example: $134: https://static.wixstatic.com/media/11bafa_ffe4363b204b4b379a15b2a472bd4a54~mv2.png

    Now, so we could meet your requirements, You would have to collect the value that each image produces in the Image Radio Buttons widget in your form and use it as an option of a new Single-Choice field (hidden) on your form.

    1613552577 602cdbc1c9dbb zt210217 040153 Screenshot 10

    After that, add the price as the calculation value of each option.

    1613552973 602cdd4dc6903 zt210217 040756 Screenshot 21

    Once you have set that up, create a condition in your form that will pass the selected option under the Image Radio Buttons widget on your form to the new Single-Choice field.

    1613553315 602cdea33aea8 zt210217 041116 Screenshot 32

    Result:

    1613553365 602cded593cd7 zt210217 041456 Screenshot 43

    For the last step, use the new single-choice field in the condition shown in your screenshot to get the total into the Input Table field at the bottom of your form instead of the Image Radio Buttons widget.

    1613553540 602cdf848dd28 zt210217 041856 Screenshot 54

    Result:

    1613553635 602cdfe3d2f74 zt210217 041956 Screenshot 65

    Here's a cloned version of the form where I have applied the change above.

    https://form.jotform.com/210471399279970

    The new Single-Choice field is only shown and not hidden for testing purposes.

    Please give it a try and let us know if you need any further assistance.

  • TonysCakes
    Replied on February 18, 2021 at 8:08 AM

    Thank you for the help, it makes a lot more sense now. I set it up and got it to work but then realized i need it to be multiple choice images and not single, I followed the same format and steps but for some reason the conditions keeps changing its self from "calculate fields value" to "copy fields value" and it stops the selections from adding up in to the matrix. is the multi choice image format different from the single choice image format image lable: URL? Please let me know if there is something i can do to make this work. thanks.

    Thanks for all the help I'm almost finished with this form!!1613653756 602e66fcba34d Screenshot 2021 Screenshot 101613653757 602e66fd33a3f Screenshot 2021 Screenshot 21

  • Richie JotForm Support
    Replied on February 18, 2021 at 9:30 AM

    To get the value of your Image checkboxes widget, I would suggest you use the Form calculation widget.

    1613657497 602e7599f2351 1 Screenshot 10

    Once you get the correct value of the image checkbox, you can use that in your condition.

    1613658571 602e79cbf146d 2 Screenshot 21

    Please make sure to match the value in the form calculation widget with the value in your single choice field.

    1613658488 602e7978f2808 2 Screenshot 32

    Screenshot in the single choice field option:

    1613658535 602e79a706604 3 Screenshot 43

    Hope this information helps.

    Please give it a try and let us know how it goes.

  • TonysCakes
    Replied on February 18, 2021 at 8:17 PM

    How do i get the driving distance to work?


    1613697403 602f117b50068 Screenshot 2021 Screenshot 10

  • Mike_G JotForm Support
    Replied on February 18, 2021 at 10:48 PM

    I have moved your new concern to a new ticket considering it is about a new topic.

    Here's the link to the new ticket: https://www.jotform.com/answers/2909433

    We will be responding to that ticket shortly. If you have any follow-up questions about the new topic, please refer to that ticket to avoid confusion. 

  • TonysCakes
    Replied on February 18, 2021 at 11:00 PM
    Thanks Mike. I appreciate the form break bown you provided a couple of days ago. It helped me understand the form fields and their functions
    Tony's Cakes
    (707) 606-8373
    1833 Springs Rd. suite A
    Vallejo Ca, 94590
    www.tonyscake.com
    Monday - Closed
    Tuesday-Friday 10:30am-5:30pm
    Saturday 9:30am-4pm
    Sunday 9:30am-2pm
    *Hours may vary
    ________________________________
    ...
  • Mike_G JotForm Support
    Replied on February 19, 2021 at 12:40 AM

    You are most welcome. I am delighted to know that I was able to help you. Feel free to let us know if you need any assistance with your account and/or forms and we will be glad to help you.