• Resolved daymobrew

    (@daymobrew)


    My form is set up to add users to two lists.
    The form only checks one of the two checkboxes in the “Select list(s) to subscribe to” section of the form.

    How can I have both checkboxes checked?
    How can I hide that section but still add users to both lists?

    (the list names are really internal names so will not make much sense to users)

Viewing 1 replies (of 1 total)
  • Plugin Author Constant Contact

    (@constantcontact)

    As is, we don’t offer settings for either of these scenarios, but
    Regarding checking all of them, you could use something like the jQuery snippet at the end of my reply.

    <script>
    jQuery(document).ready(function($) {
    	jQuery('.ctct-form-wrapper fieldset input[type="checkbox"]').each(function () {
    		jQuery(this).prop('checked', 'checked')
    	});
    });
    </script>
    

    Regarding hiding, you could make use of some CSS to visually hide.

    .ctct-form-wrapper fieldset { display: none; }
    

    However, it would be a good idea to indicate that they’d be submitting to multiple forms instead of just one like it would look like if going the hiding route. Ideally they’d still be able to choose which they’re added to.

Viewing 1 replies (of 1 total)
  • The topic ‘Add users to multiple lists (without ticking checkboxes)’ is closed to new replies.