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
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
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.