How to redirect after submitting a form

Author Message

Eirik Alfstad Johansen

Saturday 15 November 2003 8:28:24 am

Hi,

I've created a simple contact form (class) using information collectors that works like a charm. The only problem is that I would like to redirect the user to another page when he/she hits the submit button instead of the default which is a full view of the form.

Anyone know how to accomplish this?

Thanks in advance !

Sincerely,

Eirik Johansen
Netmaking AS

http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eirik Alfstad Johansen

Saturday 15 November 2003 8:29:56 am

Never mind, I found the answer here:

http://www.ez.no/developer/ez_publish_3/forum/developer/redirecting_to_a_different_page_node_on_form_submission/re_redirecting_to_a_different_page_node_on_form_submission__2

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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 19 2025 01:01:50
Script start
Timing: Jan 19 2025 01:01:50
Module start 'layout'
Timing: Jan 19 2025 01:01:50
Module start 'content'
Timing: Jan 19 2025 01:01:51
Module end 'content'
Timing: Jan 19 2025 01:01:51
Script end

Main resources:

Total runtime1.5657 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 589.2734152.6406
Module start 'layout' 0.00890.0047 741.914139.4766
Module start 'content' 0.01361.5508 781.3906487.1328
Module end 'content' 1.56440.0013 1,268.52348.1406
Script end 1.5657  1,276.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2430160.0002
Check MTime0.00160.0990160.0001
Mysql Total
Database connection0.00110.071110.0011
Mysqli_queries1.515196.7656520.0291
Looping result0.00050.0341500.0000
Template Total1.524397.420.7621
Template load0.00210.132020.0010
Template processing1.522297.219920.7611
Template load and register function0.00010.006810.0001
states
state_id_array0.00100.061210.0010
state_identifier_array0.00230.146120.0011
Override
Cache load0.00170.1071160.0001
Sytem overhead
Fetch class attribute can translate value0.00080.049910.0008
Fetch class attribute name0.00290.187330.0010
XML
Image XML parsing0.00040.025810.0004
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00100.0651160.0001
String conversion0.00000.000940.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs