Support » Plugin: PVB Contact Form 7 Calculator Add-on » How to use radio

  • Resolved apppel


    Hi. I re-read the documentation again and again and I just can not understand.
    If I need to use radio – how do I assign a numeric value for each of the radio values.

    f.e. i have field
    <label>[radio material default:1 “mdf” “plastic” “acril”]</label>
    <label>X: [number X min:1 “1”]</label>

    Each radio value has a different cost.
    “mdf” cost 1100
    “plastic” cost 1000
    “acril” cost 900

    In calculation I need multiply X value with selected radio value.

    How to make the plugin understand how much each radio value is cost to multiply with number

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,
    I have exactly the same request than apppel!
    Thanks for a reply…
    Serge from France

    Plugin Author pbosakov



    The free version of the plugin only works with numbers.

    To work with text values, such as radio button labels, you can try the Pro version.

    It supports the [variable] tag that can match text values to numbers like this:

    [radio material default:1 "mdf" "plastic" "acril"]
    [variable cost "material:" "mdf 1100" "plastic 1000" "acril 900"]
    [calculate_button calculate "Calculate"]
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to use radio’ is closed to new replies.