Create a simple form

Author Message

Anthony M.

Thursday 24 January 2008 3:20:15 am

Hi,

i have created a new class with the field 'coord_x', and i want to make a simple form like this, in order to modify the field 'coord_x' in a node :

<form action={"content/action"|ezurl} enctype="multipart/form-data" method="post" >

<input type="hidden" name="ContentNodeID" value="187" />
<input type="hidden" name="ContentObjectID" value="190" />
      
<input type="text" value="" id="coord_x" name="coord_x">
      
<input type="submit" name="PublishButton" value="Envoyer" />

</form>

but it's doesn't work...
can you help me ?

Thanks

Anthony

*- pike

Friday 25 January 2008 4:18:04 am

the name of the formelement should be different at least - something like

name="ContentObjectAttribute_ezinteger_data_int_2034"

or, you could use the

{attribute_edit_gui attribute=$attribute}

who said it would be ez ? :-)

*-pike

---------------
The class eZContentObjectTreeNode does.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.