How to redirect after submitting a form

Author Message

Sonia Mahendra

Friday 11 August 2006 2:06:51 am

Hello Everyone,

I've created a form, which collects the information submitted and stores it in folder.
At present, when i click on button submit, it shows me the page to where i submitted my form. What i need to do is to redirect the user to a different page when he hits the submit button.

Can anyone help me?

Thanks in Advance.

Regards,
Sonia.

http://mzbusiness.com

Fabricio Guerrero

Friday 11 August 2006 5:45:52 am

Hi,

This is a good question as I've also wanted to do something similar to this. Upto now if I'm not mistaking ez only lets you redirect after login,logout and adding items to a basket

You can do this either via ini files:
http://ez.no/doc/ez_publish/technical_manual/3_7/reference/configuration_files/site_ini/usersettings/logoutredirect
http://ez.no/doc/ez_publish/technical_manual/3_7/reference/configuration_files/site_ini/shopsettings/redirectafteraddtobasket

or with a hidden field:

<input type="hidden" name="RedirectURI" value="/url/to/redirect" />
(I've used this only in login form)

Never the less I GUESS you can setup a workflow and create an extension that will redirect you...

Regards,
Fabricio

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

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 22:38:23
Script start
Timing: Jan 18 2025 22:38:23
Module start 'layout'
Timing: Jan 18 2025 22:38:23
Module start 'content'
Timing: Jan 18 2025 22:38:24
Module end 'content'
Timing: Jan 18 2025 22:38:24
Script end

Main resources:

Total runtime0.9174 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.0055 589.1797152.6406
Module start 'layout' 0.00550.0030 741.820339.4766
Module start 'content' 0.00850.9076 781.2969525.5938
Module end 'content' 0.91610.0013 1,306.89068.4531
Script end 0.9174  1,315.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3693160.0002
Check MTime0.00140.1490160.0001
Mysql Total
Database connection0.00080.090810.0008
Mysqli_queries0.865694.3530540.0160
Looping result0.00060.0634520.0000
Template Total0.880996.020.4405
Template load0.00210.223920.0010
Template processing0.878995.794620.4394
Template load and register function0.00050.053110.0005
states
state_id_array0.00120.127310.0012
state_identifier_array0.00090.093120.0004
Override
Cache load0.00170.1874230.0001
Sytem overhead
Fetch class attribute can translate value0.00070.080120.0004
Fetch class attribute name0.00110.123630.0004
XML
Image XML parsing0.00060.067320.0003
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00080.0899160.0001
String conversion0.00000.000840.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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs