Image Choices: Passing name of image to another field

  • abdel160
    Asked on October 24, 2017 at 9:35 AM

    I'm using "image choices" and I only need to pass the NAME of the option chosen. unfortunately when i use the hidden field it passes a whole html table with the image plus name. is there a way to do this?

  • Chriistian Jotform Support
    Replied on October 24, 2017 at 12:04 PM

    Are you referring to the form http://www.jotform.us/form/72921542430147? I can see that you have set calculation values to your Image Choices options. If you replace those calculation values with the names of the images as shown below

    15088609032017 10 25 0001 Screenshot 10


    and create condition to pass the value to a field such as the one below.

    15088610002017 10 25 0002 Screenshot 21


    You will be able to get the name of the image chosen.

  • abdel160
    Replied on October 24, 2017 at 4:09 PM

    thanks for the workaround but i need to use the calculation values to calculate prices...if i use your method how would I do that?

  • Chriistian Jotform Support
    Replied on October 24, 2017 at 6:05 PM

    In the workaround suggested, to set up the price of your product you just need to set up another condition. Add another field in your form that will hold the value for the amount/price. 

    15088826352017 10 25 0601 Screenshot 10

    Then set up the condition to set the value of the amount field to the corresponding price based on the selected model.

    15088826802017 10 25 0601 001 Screenshot 21

    You can use the newly added field on you Text display for your price.

    15088827182017 10 25 0602 Screenshot 32

  • abdel160
    Replied on October 24, 2017 at 8:43 PM

    that works nicely. thanks for your help