The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Allow for more than one redirect page - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Feature Suggestions (https://forums.formtools.org/forumdisplay.php?fid=7)
+--- Thread: Allow for more than one redirect page (/showthread.php?tid=65)



Allow for more than one redirect page - antonitus - Mar 17th, 2009

Hi Ben,

I have been testing FT2 by using 2 forms on 2 different websites that are related together which works a treat as I want to gather submissions on one database on one of the websites.

However the issue I have is the redirect page and at present it only allows for one. As these are two websites that are differently designed, it is only limited to having one redirect page to one of the designs of the websites.

So would it be possible to have more than one redirect page for each websites' forms, e.g.

Website 1 Form - redirect to a page in Website 1
Website 2 Form - redirect to a page in Website 2

at present I believe it's like this:

Website 1 Form - redirect to a page in Website 1
Website 2 Form - redirect to a page in Website 1

Please let me know if this is unclear.

Regards,
Tony


RE: Allow for more than one redirect page - Ben - Mar 17th, 2009

Hi Tony,

Hope all is well! Sorry for my absence in the forums of late, just finishing up a load of work.

Sure, you can do this by including a hidden field in your form called form_tools_redirect_url, like so:

Code:
<input type="hidden" name="form_tools_redirect_url" value="http://www.google.com" />

That will then redirect to the appropriate URL. I use this feature all the time - very handy! (Come to think of it, though, I'm not sure where it's documented... hmm!)

- Ben


RE: Allow for more than one redirect page - antonitus - Mar 17th, 2009

Hi Ben,

Thanks once again for this fix. I was just thinking that this might be a bonus if you added it into the admin page when selecting multiple page forms. Just an idea that may make it more easier for people to configure.

Hope you're well too. Also I hope you got all your work done.

Regards,
Tony