Forums

Checkbox Array Results

mcmoody 16 Dec, 2009
This is mysterious to me - what am I doing wrong? I have Handle Arrays set to YES in Chronoforms.

My code is:

<input type="checkbox" name="furnituretype[1]" value="Task Seating">Task Seating  <br>
      
<input type="checkbox" name="furnituretype[2]" value="Guest Seating">Guest Seating<br>
<input type="checkbox" name="furnituretype[3]" value="Lounge Seating"> Lounge Seating
<br>
<input type="checkbox" name="furnituretype[4]" value="Conference Tables"> Conference Tables
<br>
<input type="checkbox" name="furnituretype[5]" value="Cafe Tables"> Cafe Tables
<br>
<input type="checkbox" name="furnituretype[6]" value="Side & Lounge Tables"> Side/Lounge Tables<br>
<input type="checkbox" name="furnituretype[7]" value="Workstation Furniture"> Workstation Furniture<br>
<input type="checkbox" name="furnituretype[8]" value="Private Office Desk Furniture"> Private Office Desk Furniture
<br>
<input type="checkbox" name="furnituretype[9]" value="Storage & Filing"> Storage/Filing
<br>
<input type="checkbox" name="furnituretype[10]" value="Accessories">Accessories


My email template keeps returning the LAST result. This hasn't to me before with this version of Chronoforms. Is it a bug, or did I do something wrong?

I'm using Joomla 1.5.15 and CF 3.1 RC5.5

Martha
GreyHead 16 Dec, 2009
Hi Martha,

Try name='furnituretype[]' in each option without specifying the index.

Bob
This topic is locked and no more replies can be posted.