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



Form Tools
Pass on checked but not passing anything - 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: Pass on checked but not passing anything (/showthread.php?tid=2403)



Pass on checked but not passing anything - itsjustjeff - Mar 16th, 2013

I've tried going through the forum search results to see if this was already addressed but my search resulted in many pages that didn't seem to answer my question.

My form works and puts data in the database, and successfully redirects to the thank you page.

However, I'm trying to : Displaying data on POST form receipt pages
http://docs.formtools.org/tutorials/post_forms_redirect_data/index.php?page=index
I've made sure all the prerequisites have been put in place.
I'm stuck on step 1. of this tutorial
As the tutorial suggest to test, I've checked the "Pass on" for ID, saved that, and have submitted my form (after having previously loading the page to clear sessions). Nothing is being passed along in the URL query string after a fresh submission.

Can't figure out how to troubleshoot further. Any ideas?

I have this code in my form
Code:
<?php
require_once("formtools/global/api/api.php");

$fields = ft_api_init_form_page(3);
$params = array(
  "submit_button" => "submit",
  "next_page" => "formthanks.php",
  "form_data" => $_POST,
  "file_data" => $_FILES,
  "finalize" => true
    );
ft_api_process_form($params);
?>

And this is in my "formthanks" page:
Code:
<?php
require_once("formtools/global/api/api.php");

$fields = ft_api_init_form_page();
ft_api_clear_form_sessions();
?>

Thanks