We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Check Box: Not delivering data to CP or email

Development and Programming

swenke's avatar
swenke
70 posts
17 years ago
swenke's avatar swenke

EE Community,

Howdy all - I’m trying to get Freeform to report back the checked items in my list but to no avail. I get a CP report that just has the basic info and an email but neither report the {propertyName}.

Any suggestions?

{exp:freeform:form form_name="requestedPPM"  notify="[email protected]" template="requestedPPM" return="shoppingCart/PPM_requestShoppingCart"}
{exp:weblog:entries weblog="propertyDetails" orderby="contemplatedDate" sort="acs"}
 <li>
<a href="#" class="image">{propertyImage}{propertyImage}</a>
<div class="hover">
     <div class="prop">
        <strong>{propertyName}</strong>
        {relatedSponsor}
{assetType}
{city}, {state}
        <div class="check watch"><input type="checkbox" name="{propertyName}" value="{propertyName}"><label>REQUEST PPM</label></div>
     </div>
     <div class="price">
        <span>${minEquityInvestment}</span>
    </div>
    <div class="price">
        <span>${remainingEquity}</span>
    </div>
    <div class="price">
        <span>${offeringAmount}</span>
    </div>
    <div class="price">
        <span>{contemplatedDate format="%n.%d.%Y"}</span>
    </div>
    <div class="price">
        <span>{offeringDate format="%n.%d.%Y"}</span>
    </div>
</div>
</li>
{/exp:weblog:entries}
{/exp:freeform:form}

Regards, Chris

       
swenke's avatar
swenke
70 posts
17 years ago
swenke's avatar swenke

Pie Man over at Solspace Forum helped me out on this:

You’re probably going to want to set all the checkboxes as the SAME Name, with each box having a different Value. The Name would be say… PropertyName (which you’d want to make sure you create in the Freeform CP), and the Value can be dynamically generated as you have it in your code. And be sure to set the name to have the post array syntax to allow it to accept multiple values:
<input type="checkbox" name="propertyName[]" value="{propertyName}">

Thank You Pie Man

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.