Forums / Developer / redirecting to a different page (node) on form submission??

redirecting to a different page (node) on form submission??

Author Message

M Farhan

Thursday 12 June 2003 4:20:57 am

Hello Everyone,

Can anyone tell as to how to set the page(node) which is to be shown after form submission??, at present it shows the same form page on form submission.

Thanks in Advance.

MF.

Jo Henrik Endrerud

Friday 13 June 2003 6:52:50 am

You can make a hidden field in the form called RedirectURI containing the page you wish the user to be taken to after submission

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Gavin Heaton

Tuesday 17 June 2003 10:12:27 pm

I have tried this approach in a number of different ways but have had no luck as yet. Has anyone had a better result?

Bård Farstad

Tuesday 17 June 2003 11:08:10 pm

If you mean to redirect to another page after information is fetched with information collection. Then you can add this to the collectedinfomail.tpl:

{set-block scope=root variable=redirect_to_node_id}2{/set-block}

Replace 2 with the id of your desired node.

--bård

Documentation: http://ez.no/doc