Forums / Setup & design / contact-form problems

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.

eZ debug

Timing: Jan 31 2025 04:22:59
Script start
Timing: Jan 31 2025 04:22:59
Module start 'content'
Timing: Jan 31 2025 04:22:59
Module end 'content'
Timing: Jan 31 2025 04:23:00
Script end

Main resources:

Total runtime0.1801 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.9219180.8438
Module start 'content' 0.00600.0065 768.765697.9766
Module end 'content' 0.01250.1676 866.7422526.5000
Script end 0.1801  1,393.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00351.9418200.0002
Check MTime0.00130.7471200.0001
Mysql Total
Database connection0.00080.444710.0008
Mysqli_queries0.113663.07511410.0008
Looping result0.00140.75511390.0000
Template Total0.167292.810.1672
Template load0.00090.511810.0009
Template processing0.166392.307610.1663
Override
Cache load0.00060.352510.0006
Sytem overhead
Fetch class attribute can translate value0.00080.440210.0008
XML
Image XML parsing0.00020.135010.0002
General
dbfile0.021211.7794200.0011
String conversion0.00000.002930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs