We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12372
    • 44 Posts
    I require users to tick a checkbox before submitting the form, but even though I’ve set it to required it still submits with it being clear.

    I have termsandconditions:required in the validation section (and other validations work fine).

    And then I have:

    <input id="termsandconditions" type="checkbox" name="termsandconditions" [[!+fi.termsandconditions:FormItIsChecked=`Yes`]] />

    Any thoughts?

    Thanks in advance
      • 12372
      • 44 Posts
      Sorry, I found the help I needed in the RTFM at:
      http://rtfm.modx.com/display/ADDON/FormIt.Handling+Selects%2C+Checkboxes+and+Radios

      Despite being offered a delete button, I can’t delete this topic - so sorry about that.