i have a checkbox group like this:
My email template has {dates} in a table column by itself. But it only seems to show the last date even if all 4 are checked. It looks like the newer CF you have to add a handle array event, but i am using old version (joomla 1.5.26 and CF ver 3.2 because of the mootools upgrade)
Let CF handle posted arrays is checked "YES" on the general form config.
How can i get the values checked to ALL show in the email? Thanks for any help on this.
Cheryl
<label>
<input type="checkbox" name="dates" value="N/T 3-D Wed. Oct. 24" id="dates_0">
N/T 3-D Wed. Oct. 24</label>
<br>
<label>
<input type="checkbox" name="dates" value="N/T 3-D Thur. Oct. 25" id="dates_1">
N/T 3-D Thur. Oct. 25</label>
<br>
<label>
<input type="checkbox" name="dates" value="N/T 3-D Fri. Oct. 26" id="dates_2">
N/T 3-D Fri. Oct. 26</label>
<br>
...etc
My email template has {dates} in a table column by itself. But it only seems to show the last date even if all 4 are checked. It looks like the newer CF you have to add a handle array event, but i am using old version (joomla 1.5.26 and CF ver 3.2 because of the mootools upgrade)
Let CF handle posted arrays is checked "YES" on the general form config.
How can i get the values checked to ALL show in the email? Thanks for any help on this.
Cheryl
Hi Cheryl,
Checkbox groups need to use array names name='dates[]' or you will only get the last value set.
Bob
Checkbox groups need to use array names name='dates[]' or you will only get the last value set.
Bob
This topic is locked and no more replies can be posted.