Monday 19 May 2003 12:04:04 am
Paul, #Question 1: We had a similar problem, discussed within: http://ez.no/developer/ez_publish_3/forum/developer/radio_buttons_within_forms This code works well for radio buttons:
{section name=Radio loop=array('1', '2', '3')}
<td>
<input type="radio" name="ContentObjectAttribute_ezstring_data_text
_{$node.data_map.contact.id}" value="{$:item}">{$:item}</input>
</td> {/section} You can see whats happening here and use the same code to <select><option> for combo boxes, where '$contact' is our enum attribute of the current node. #Question 2: Inside your modified collectedinfomail.tpl make sure this line is set to an appropriate node (ours here is 107): {set-block scope=root variable=redirect_to_node_id}107{/set-block} This will redirect the form after submission. We have a thank you article set up for this. Hope this helps you. Paul
|