1

I have a form, that has 2 sections where you can select multiple checkboxes and I have not figured out how to get those checkboxes to show up in the email. Here is what the checkboxes look like on the form:

I have the locations and characteristics saved in a checkbox group in the back in of Freeform Pro. There is a label and value assigned to each option. My code looks like this:

                                    <tr>
                    <td style="text-align: left; font-weight: bold;"><b>Location Preference (check all that apply)</b></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Great Bend </label><input name="great_bend" value="Great Bend" name="support[]" type="checkbox" id="great_bend"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Hays </label><input name="hays" value="Hays" name="support[]" type="checkbox" id="hays"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>McPherson </label><input name="mcpherson" value="McPherson" name="support[]" type="checkbox" id="mcpherson"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Hutchinson </label><input name="hutchinson" value="Hutchinson" name="support[]" type="checkbox" id="hutchinson"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Colby </lable><input name="colby" value="Colby" name="support[]" type="checkbox" id="colby"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Wichita </lable><input name="wichita" value="Witchita" name="support[]" type="checkbox" id="wichita"></td>
                </tr>
                <tr>
                    <td style="text-align: left; font-weight: bold;">Desired Characteristics of Your IDEAL Firm<br /><span style="font-weight: normal; font-size: .9em;">Please check your top three characteristics</span></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Compensation and benefits </label><input name="benefits" value="benefits" name="idea_characteristics[]" type="checkbox" id="benefits"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Networking / Future job opportunities </label><input name="networking" value="networking" name="idea_characteristics[]" type="checkbox" id="networking"></td>

                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Client Size </label><input name="client_size" value="client_size" name="idea_characteristics[]" type="checkbox" id="client_size"></td>

                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Firm Location </label><input name="location" value="locations" name="idea_characteristics[]" type="checkbox" id="location2"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Opportunity for travel </label><input name="travel" value="travel" name="idea_characteristics[]" type="checkbox" id="travel"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Experience in variety of industries </label><input name="experience" value="experience" name="idea_characteristics[]" type="checkbox" id="experience"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Opportunities for internal advancement </label><input name="advancement" value="advancement" name="idea_characteristics[]" type="checkbox" id="advancement"></td>
                </tr>
                <tr>
                    <td style="text-align: left" width="300" bgcolor="#efeff0"><label>Work / Life balance </label><input name="balance" value="balance" name="idea_characteristics[]" type="checkbox"></td>                 
                </tr>

I tired a few different things as you can see in the code. But, so far nothing has worked. How can I get this to work properly?

1 Answer 1

1

Make sure {idea_characteristics} is also in your email notification template.

15
  • I have the following in my email notification template: Desired Characteristics of Your Ideal Firm: {idea_characteristics}
    – Ajay
    Commented Nov 26, 2013 at 17:44
  • Confirm also that your form tag is set to use that notification template.
    – Anna_MediaGirl
    Commented Nov 26, 2013 at 17:48
  • Are you using the paid version of Freeform Pro?
    – Anna_MediaGirl
    Commented Nov 26, 2013 at 17:49
  • Also, post your opening form tag in your code above.
    – Anna_MediaGirl
    Commented Nov 26, 2013 at 17:50
  • 2
    The collection="" parameter has been changed in Freeform 4=Pro, use form_name="Employment Form" instead. Not sure if that will fix it but worth checking! Full list of version 4 changed tags at solspace.com/docs/freeform/upgrade_3.x-4.x so a good idea to make sure your form tag uses the latest parameter names. Commented Nov 29, 2013 at 20:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.