Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    You should use the image tags as the texts of the choices, but not as their values, for example you can enter the tag:

    <IMG src=http://aaa.nl/wp-content/uploads/2016/03/Number1>

    as the choice text, but the number 1 as its value, and then use the piece of code below as the equation associated to the calculated field:

    (function(){
    if(fieldname3==1) return fieldname2*3;
    return '';
    })()

    or even simpler:

    IF(fieldname3==1, fieldname2*3, '')

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Make calculations with images in radio buttons’ is closed to new replies.