How do I assign a unique value to radio button option?

  • Profile Image
    mjgroup
    Asked on November 18, 2014 at 07:05 AM

    Example. - See Screenshot

    I have assigned softback book value as 50 by following another forum post:

    softback<em>50</em> then making it transparent in my CSS .

    I then want to assign say A4 to the value of 20 and A5 to the value of 10 ( see below)

    My calculation at the end should then be equal to

     <book> + <book size>

    50+10 = 60

    But it's not working I assume because A4 is a number already..?

    Any possible work around?

    Thanks,

    Caroline

     

  • Profile Image
    ashwin_d
    Answered on November 18, 2014 at 08:33 AM

    Hello Caroline,

    Well there is a better straight forward way to achieve your requirement. You can set the "Calculation Value" for every options of your radio button question. These values can then be used in the "Form Calculation" widget.

    Here are the steps you should follow:

    1. Click on the gear icon of your radio button question and then click on "Show Properties".

    2. Set the Calculation values for every option. Please check the screenshot below:

    3. Add a "Form Calculation" widget in your form and set the formula to calculate the values. Please check the screenshot below:

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    mjgroup
    Answered on November 18, 2014 at 08:43 AM

    Ah amazing thank you! (silly me)

  • Profile Image
    ashwin_d
    Answered on November 18, 2014 at 08:47 AM

    Hello mjgroup,

    You are welcome.

    I'm very pleased that I was able to help you.

    Do get back to us if you have any questions.

    Thank you!