Problem with contact form

Problem with contact form

Wednesday 30 January 2008 3:06:04 am - 5 replies

Author Message

ez Freak

Tuesday 12 February 2008 2:37:15 am

hi,

has nobody an idea what happen?

help, help, help :-)

thanks

Ɓukasz Serwatka

Tuesday 12 February 2008 2:55:57 am

Compare your tpl code with ezwebin code: http://zev.ez.no/svn/extensions/ezwebin/trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/override/templates/full/feedback_form.tpl

Check also if your code does not have any nested forms. Check for possible re-write rules or redirections.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

ez Freak

Wednesday 13 February 2008 2:03:34 am

hello,

thanks for your answer.

i maked a dummy node with the name sitemap and maked a custom template for the new dummy node.
my template is laoded and include the code from the feedback_form.tpl

but when i click on send button the form send:

http://xxx/yyy/content/search?SearchText=&ContentObjectAttribute_data_text_16220=&ContentObjectAttribute_ezstring_data_text_16218=&ContentObjectAttribute_data_text_16219=&ActionCollectInformation=Send+form&ContentNodeID=2808&ContentObjectID=2120&ViewMode=full

the validation is not working!

i dont anderstand this effect!

what do you mean with it?
1. Check also if your code does not have any nested forms
2. Check for possible re-write rules or redirections

thanks

Abdelkader RHOUATI

Wednesday 13 February 2008 3:31:57 am

hi,

for validation you must include this code :

{default validation=false()}
       {section show=$validation}
           {include uri='design:content/collectedinfo_validation.tpl' validation=$validation                               collection_attributes=$collection_attributes}
     {/section}
{/default}

it permit to display the validation's errors.

tks.

Abdelkader

Abdelkader RHOUATI

Blog (french) : http://arhouati.com
----
Extension arh_jdebug : EzDebug using jquery

ez Freak

Monday 18 February 2008 3:26:20 am

thanks for your help.

i found the error. this is so simple.
in my page i have 2 forms. first form is the searchbox and the second form is a feedback.
my fault was that i forgot the "end tag" from my first form!

thats is it. </form>.

thanks :-)

You must be logged in to post messages in this topic!

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