The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Kind of desperate HELP on for Form Builder - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Kind of desperate HELP on for Form Builder (/showthread.php?tid=29225)



Kind of desperate HELP on for Form Builder - rgaudard - Nov 1st, 2017

Hi there! [Image: smile.gif]

Newbie alert!

I've published a form with the form builder (fantastic tool btw, thanks Ben!), but what I need is the thank you page heading to a new url. Is that possible?

I'm not sure if I was clear, but is like that: When the user press the button to send the form, instead of the usual ~thank you page~ I'd like that he/she was redirected to a new url. 

Hope that someone could be seeing this post soon! <3
Maaaany thanks!
Raquel


RE: Kind of desperate HELP on for Form Builder - chalorlay - Dec 3rd, 2017

Its been a month, probably its too late.
Anyway... solved?


RE: Kind of desperate HELP on for Form Builder - ocbroadband - Dec 3rd, 2017

(Dec 3rd, 2017, 4:50 PM)chalorlay Wrote: Its been  a month, probably its too late.
Anyway... solved?

Internal or external form?

If your using an external form, this would be the portion of code you need at the top of your form along with everything else you would need for it.

Code:
if (empty($errors))
     {
    $params = array(
        "submit_button" => "sbmt",
         "next_page" => "https://www.website.com/thank-you.php",
         "form_data" => $_POST,
         "finalize" => true
        );
     ft_api_process_form($params);
     }
// it failed validation. Update $fields with the latest contents of the form data
else
     {
    $fields = array_merge($_SESSION["form_tools_form"], $_POST);
     }
}
Give this a look.  https://docs.formtools.org/tutorials/api_single_page_form/