• Resolved kell99

    (@kell99)


    Hi,

    Is there an easy way to default the radio button selection to decimal please?

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kell99

    (@kell99)

    oops – Metric!

    Plugin Author Twoultall

    (@twoultall)

    Hi,
    In the template.php
    Find:

    <span class="bmi-calculator-system-imperial">
          <input type="radio" class="bmi-calculator-system-radio" value="imperial" checked="checked"/> Imperial
        </span>
        &nbsp;&nbsp;
        <span class="bmi-calculator-system-metric">
          <input type="radio" class="bmi-calculator-system-radio" value="metric"/> Metric
        </span>

    and change it to:

    <span class="bmi-calculator-system-imperial">
          <input type="radio" class="bmi-calculator-system-radio" value="imperial"/> Imperial
        </span>
        &nbsp;&nbsp;
        <span class="bmi-calculator-system-metric">
          <input type="radio" class="bmi-calculator-system-radio" value="metric" checked="checked"/> Metric
        </span>

    It does select it, but the options do not change to metric, just the metric radio is selected, with imperial height and weight.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘default to decimal’ is closed to new replies.