Forums / Developer / Problem with collected info by form
Stéphane Bullier
Tuesday 20 February 2007 8:43:15 am
Hello,
I can't find the solution to solve my problem
I created a form. I overrided the default template. After fill all fields of my form and clic the button "Send", the process stop at content/action
When I use the default template standard/node/view/full or when I use the form in back office, the informations are sent the url change like that content/collectedinfo/226 and receive a email.
I your some idea. I use ez 3.9.
Stéphane
André R.
Tuesday 20 February 2007 8:49:57 am
Have you remembered to copy all hidden input tags from the default template ?
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Tuesday 20 February 2007 8:56:31 am
Hello André R.,
Yes I think.
Look a sample of my code :
<form method="post" action={"content/action"|ezurl}> <input type="hidden" name="TopLevelNode" value="{$node.node_id}" /> {* Registration type *} <p> * {$node.data_map.registration_type.contentclass_attribute_name} {attribute_view_gui attribute=$node.data_map.registration_type} </p> <input type="submit" class="defaultbutton" name="ActionCollectInformation" value="{"Send form"|i18n("design/base")}" /> <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" /> </form>
Wednesday 21 February 2007 1:04:58 am
I solved my problem. The problem was about an attribute selection in my form.