Forums | Mahara Community
Developers
/
loop pieforms checkbox elements
05 January 2015, 22:37
How to do in pieforms
{foreach from=$myarr item=emailid}
<tr id="testform_input_email_container">
<th></th>
<td>
<input type="checkbox" class="checkbox1" id="testform_input_email" name="select_email[]" value="{$emailid}">{$emailid}
</td>
{/foreach}
Now I'm doing this is tpl file
I have checkbox values in array
How to loop checkbox in pieforms.
Another doubt :
In Many mahara Pieforms, checkbox dont have 'value' like title,type..
Where they set the values of checkboxes?