This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Custom Radio & Checkboxes not working with logic notificatons


  1. curtisio
    Member

    I had a form with custom checkboxes.

    Who would you like to contact?
    Choice 1 = Person A, Choice 2 = Person B

    When I have the custom radio / checkboxes with CSS the logic notification emails no longer get sent. I have removed the custom radio buttons so that the contact form sends logic emails (for now I hope)

    Are there any thoughts why this doesn't work?

    CSS BELOW:

    input[type=radio] {
    visibility: hidden;
    }

    input[type=radio] + label::before {
    content: "";
    display: inline-block;
    margin-right:3px;
    margin-top:10px;
    width: 29px;
    height: 30px;
    background: url(../../../../images/checkbox_untick.png) no-repeat;
    }

    input[type=radio]:checked + label::before {
    content: "";
    display: inline-block;
    margin-right:3px;
    margin-top:10px;
    width: 29px;
    height: 30px;
    background: url(../../../../images/checkbox_tick.png) no-repeat;
    }

    Posted 10 years ago #
  2. curtisio
    Member

    Problem solved (I'm not sure how). I rebuilt the form and tested it worked and then add the custom CSS and it works.

    Posted 10 years ago #

RSS feed for this topic

Reply