Forum
Perch Form Multiple recipients - Add extra email recipient
I am trying to add a second recipient to this code:
<perch:label for="recipient">To</perch:label>
<perch:input type="select" id="recipient" label="Recipient" options="
<perch:repeater id="recipients" label="Recipients">
<perch:content id="name" type="text" label="name" />|<perch:content id="email" type="text" label="e-mail" /><perch:if id="perch_item_index" match="neq" value="{perch_item_count}">,</perch:if>
</perch:repeater>
" /
Any help much appreciated
The two addresses would have to be strung together with a comma. Problem is, if you do that, it will register as another option in your select. So, the comma needs to be escaped like so:
Perfect. Thanks