• Hi,

    Anyone here knows how to add individual ID’s to checkboxes. For example,

    <input id=”services-1″ type=”checkbox” name=”services” value=”Services 1″>
    <input id=”services-2″ type=”checkbox” name=”services” value=”Services 2″>
    <input id=”services-3″ type=”checkbox” name=”services” value=”Services 3″>
    <input id=”services-4″ type=”checkbox” name=”services” value=”Services 4″>

    Any help would be very much appreciated.

    Thanks.

    https://wordpress.org/plugins/contact-form-7/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter amw403

    (@amw403)

    Hi esmi,

    Thanks for the reply. However, your link is about text-fields and not checkboxes.

    Based on my post above, what I want to do is to add individual ID’s to checkboxes. The ID in the shortcode (example)…

    [checkbox services id:services class:services use_label_element “Service 1” “Service 2” “Service 3” “Service 4”]

    …is only applicable to the checkbox wrapper and will not add ID’s to individual checkboxes inside the wrapper.

    I created a script in javascript/jquery to do it, but workss specifically for my form. I’m still working on it, it can do that and create a
    <label for="the-checkbox-ID"></label>
    so i can customize the checkboxes’style and it works visually, but still it won’t send the info from the checkboxes in the e-mail.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add individual ID's to checkboxes’ is closed to new replies.