1. Hugh is (technically) on vacation for the rest of September, travelling to Europe for his son's wedding in England, and to meet up with Rob in La Rochelle, France. He will be checking the forums most days, and providing some support, but his time will be limited, and he will be unable to do any custom coding work. Apologies in advance for any inconvenience.

JS check if checkbox is checked?

Discussion in 'Fabrik 3.x Testing' started by adamck, Apr 13, 2012.

  1. adamck

    adamck New Member

    Level: Community
    Hi Guys.
    What js is needed to check that a checkbox is checked when submitting a form?
    I need an alert if its not checked and for the form to submit correctly when it is checked.
  2. adamck

    adamck New Member

    Level: Community
    OK so im doing this JS
    Code (Text):

    if ($('newusers___Terms').checked == true) {
    Which works by hiding the submit button when the box is unchecked.
    But when its checked again it doesnt show the submit button.
  3. rob

    rob Administrator Staff Member

    Level: Community

Share This Page