Populate form fields

Author Message

Dan Mansfield

Wednesday 11 February 2009 4:00:38 am

Has anyone had any experience with having a contact form that has some fields filled in automatically?

Here is the situation:
There are pages on the site with various products and services. They have a button on them which goes to a contact form, rather than having the visitor choose the product again from the list we want to have the name of the product come from the referring page.
So I guess the link to the form should contain the relevant fields and the form itself should contain some GET statements to bring the information in.

Any assistance would be appreciated.

Lara Nordahl

Friday 13 February 2009 10:40:47 pm

We are trying to do this also, would be greatful for any assistance.

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

eZ debug

Timing: Jan 18 2025 21:00:19
Script start
Timing: Jan 18 2025 21:00:19
Module start 'layout'
Timing: Jan 18 2025 21:00:19
Module start 'content'
Timing: Jan 18 2025 21:00:19
Module end 'content'
Timing: Jan 18 2025 21:00:19
Script end

Main resources:

Total runtime0.7042 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.9297152.6094
Module start 'layout' 0.00530.0036 741.539139.4141
Module start 'content' 0.00880.6940 780.9531456.8203
Module end 'content' 0.70280.0013 1,237.77348.1875
Script end 0.7042  1,245.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4742160.0002
Check MTime0.00140.1927160.0001
Mysql Total
Database connection0.00070.106110.0007
Mysqli_queries0.667394.7640540.0124
Looping result0.00060.0791520.0000
Template Total0.675295.920.3376
Template load0.00190.267320.0009
Template processing0.673395.602920.3366
Template load and register function0.00020.022610.0002
states
state_id_array0.00070.106310.0007
state_identifier_array0.00070.100620.0004
Override
Cache load0.00150.2152100.0002
Sytem overhead
Fetch class attribute can translate value0.00040.058020.0002
Fetch class attribute name0.00110.150920.0005
XML
Image XML parsing0.00030.035820.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00090.1322100.0001
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs