contact-form problems

Author Message

ole poulsen

Tuesday 25 April 2006 6:45:55 am

What is this supposed to mean - that is the result i get in the source code of the contact form:

<input class="box" type="text" size="70" name="ContentObjectAttribute_ezstring_data_text_3097" value="" / >

???

It is of course the name-attribute that I dont quite get. Normally those attributes in a contact form would be called "realname", "email" and "subject" etc... but here they apparently get some automatically generated value - that DOESNT work... at least not for me at the moment.

My emails get send and received allright. But there is no realname, email or subject information in the relevant places.

What to do?

Bertrand Dunogier

Wednesday 26 April 2006 12:55:23 am

The name represents the attribute content is submitted to.

In your case, it's a <i>ContentObjectAttribute</i>, of datatype <i>ezstring</i>, stored in the <i>data_string</i> area, and of id <i>3097</i>.

That syntax allows the content engine, and more specifically in your case the content collection system, to know what attribute has to handle the submitted data.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

ole poulsen

Wednesday 26 April 2006 6:08:12 am

Thanks for the specifications but it does not make me much wiser (some wiser, but not enough) about why I have this problem.

The form generates no header-information.
I have named the fields "realname", "email" and "subject" when I created the class, and I assumed that would be the name-tag in the code. But it isn't - instead theres this ez-code, which does not read these things as normal email header-information.
Why? And more importantly: how do I fix it?

(and please let me know, of course, if I need to make myself more clear)

ole poulsen

Thursday 27 April 2006 7:24:17 am

I cannot give my bosses a website with a contact form where they get no header-information in their received emails.

I can see that other people have had the same or similar problems - but I havent found any working solutions.

How do I get collected information to be put in the email-header?
That is - how do they get the normal name-tags used on the internet - such as "email" and "subject"?

Please, help me. We need to launch the site quite soon.

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