Thursday 29 July 2004 2:06:23 am
Hi!
Lets say I've made a class with 2 attributes: name (textline) and email (email). The email-attribute is required. Now I want anonymous users to make new objects of this class. This is no problem when using code like
{include uri="design:content/edit_attribute.tpl"}
But how do I write the code if I only want the useres to fill in ONLY the email-attribute? In other words: I dont want them to be presented to a textline where they have to fill in their name. I've tried to find the golden documentation page on how to make the form manually, but with no luck. The html-output is something like
<input type="hidden" name="ContentObjectAttribute_id[]" value="785" />
<input class="" type="text" size="40" name="ContentObjectAttribute_ezstring_data_text_785" value="" />
and I think the name="..." is my problem. But how to make it dynamic?
Thanks! Roy
|