Tuesday 22 July 2003 8:09:21 am
I've created a couple of mailforms earlier without problems, but this time I'm in need of some checkboxes in my mailform. I was mighty surprised to find out this isn't supported by EZp, but after searching the forums, at least I found out how to create the checkboxes. here: http://ez.no/developer/ez_publish_3/forum/developer/radio_buttons_within_forms {let test=$node.data_map.cb}
{section name=Radio loop=array('value 1','Value 2')}
<input type="checkbox" name="ContentObjectAttribute_ezstring_data_text_{$test.id}" value="{$:item}">{$:item}</input>
{/section} {/let} My identifier for the enum field is cb, but this {let} doesn't have any function whatsoever. The section creates the checkboxes and all, but I can't get any information sent from them. Anyone has an idea of how to use checkboxes in a mailform? Regards Bjørn
|