Support » Plugin: Contact Form 7 » Attach ID number to Checkbox Items selected

  • Hi there, thanks for this plugin – it really rocks.

    Could you tell me if there’s a way to insert an ID number (not css but, an item ID number for each checkbox).

    For instance I have several accordions with dozens of options – for illustration (not actually) say I have an accordion for each city – and each city has a planning, police, fire departments.

    So, I need to attach an ID to each item but, not have the user see it.

    [accordions][accordionA][checkbox municipalityDetroit “Planning” “Police” “Fire”][/accordion]
    [accordionB][checkbox municipalityToledo “Planning” “Police” “Fire”][/accordion]
    [accordionC][checkbox municipalityAtlanta “Planning” “Police” “Fire”][/accordion][/accordions]

    Right now when I get my form back I don’t know which city a fire department is selected for.

    Ideally I could attach an ID number to each item and I could even make the font color the same as the background i.e.:

    “Planning <div font-color:#fff>DETROIT-PLANNING</div>”
    “Police <div font-color:#fff>DETROIT-POLICE</div>”
    “Fire <div font-color:#fff>DETROIT-FIRE</div>”

    This is a corny example but, suffice to say I’m trying to create a unique ID for every selection on my form so that when I receive my email response it makes sense.


  • The topic ‘Attach ID number to Checkbox Items selected’ is closed to new replies.