• ejaz924n

    (@ejaz924n)


    I have two number fields that I would like to compare before the submit button can be pressed.

    [radio BS use_label_element default:1 “B” “S”]

    [number* T1 min:0 max:100000 id:T1 placeholder “Target 1*”]

    <input type=”number” name=”T2″ min=0 max=100000 id:T2 placeholder=”Target 2″>

    I want to be able to compare the values of T1 and T2 based on the value of the radio buttons “B” and “S”. Say if radio button “B” is selected the form should not submit if the value of T2 is smaller than T1 etc. Is there a way to achieve this using Contact Form 7 or some other way?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Form 7 compare two fields’ is closed to new replies.