Tuesday 17 October 2006 9:13:11 am
Hi! I'd like to allow my Anonymous Users to create a new object to the class "class_contact". With contentobject_attribute : "Name" and "file" because i'd like to make a feedback form with a "file" field.
<form name="new_contact" method="post" action={"content/action"|ezurl}>
<input class="button" type="submit" name="Feedback" value="Feedback" />
<input type="hidden" name="RedirectURIAfterPublish" value="/" />
<input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
<input type="hidden" name="ContentObjectID" value="{$content_object.id}" />
<input type="hidden" name="NodeID" value="{$node.node_id}" />
<input type="hidden" name="ClassIdentifier" value="class_contact" />
</form>
Any ideas on how to achieve this?
Thanks! John
|