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
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
ft_update_submission fail ? [SOLVED] - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: ft_update_submission fail ? [SOLVED] (/showthread.php?tid=330)



ft_update_submission fail ? [SOLVED] - nomad - Oct 14th, 2009

Hi,
I would like to use ft_update_submission to update submission from my own php code. I think that right use is:

ft_update_submission ($form_id, $submission_id, $infohash)

The function runs without error, returns array with susscess confirmation, field "Last modified" is updated, but other fields I woul like to update contain old values.

My code:
$options = array(
"name_of_col1"=>1, "name_of_col2"=>1,"field_ids"=>"166 173", "editable_field_ids"=>"166 173");
ft_update_submission (5, $_GET["id"], $options);

What can be wrong?

Thanks for any idea.


RE: ft_update_submission fail ? - nomad - Oct 15th, 2009

Hi guys,
mornings are clever then evenings, I help myself today, here is solution which works for me:

Code:
ft_update_submission ($form_id, $submission_id, $infohash)

where

Code:
$infohash=array(
"name_of_col1"=>new_value,  // list of database col names + values
"name_of_col2"=>new_value,
...,
"field_ids"=>"x,y,.....",  // list od ID fields corresponding to col names above
"editable_field_ids"=>array(x,y,....) // list od used ID fields you have to mark as editable
);

Maybe could save some time for somebody.

Nice day to all.


RE: ft_update_submission fail ? [SOLVED] - russellfeeed - Nov 9th, 2012

thanks nomad, I was looking for the format of infohash as I need to process it in Hooks Manager


RE: ft_update_submission fail ? [SOLVED] - Tysonarton - Jun 23rd, 2021

The update submission failure is a main theme of this blog post that can clearly tell about the relative data. Nomad is a junior member that has shared the thread post with the easyessay accommodation with the legalize way and multiple stories in the graceful sense.


how to get free v bucks in fortnite - tom0099 - Aug 4th, 2021

This right time to get free v bucks how to get free v bucks in fortnite no log in and sign up required.