Wednesday 25 October 2006 10:28:50 pm
<form method="post" action={"content/action"|ezurl}>
<input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
<input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
<input type="hidden" name="ViewMode" value="full" />
<div>
{attribute_view_gui attribute=$node.object.data_map.question1}
</div>
<div>
{attribute_view_gui attribute=$node.object.data_map.new_attribute1}
</div>
<div>
{attribute_view_gui attribute=$node.object.data_map.question}
</div>
{section show=is_unset( $versionview_mode )}
<input class="button" type="submit" name="ActionCollectInformation" value={"Vote123"|i18n("design/base")} />
{/section}
</form>
<div class="content-results">
<div class="attribute-link">
<p><a href={concat( "/content/collectedinfo/", $node.node_id, "/" )|ezurl}>{"Result"|i18n("design/base")}</
a></p>
</div>
</div>
</div>
</div>
This above code creating two submit button for two class.But i only need one submit button which send bothe classes data.The problem given below
I have called two classes(option or selection) in a single line.tpl file
i need only one submit button which will send both classes data? is it possible?
|