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 property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
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
Re-Edit Form? - 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: Re-Edit Form? (/showthread.php?tid=225)

Pages: 1 2


RE: Re-Edit Form? - greatwhitebuffalo - Dec 10th, 2010

I am at the point to where I can use the login to create a new record or have it accept the username / password in the database but it does not pull the existing data to propagate the form. I have done the smartfill and my columns match the data in the database. Any ideas?

Thanks!


RE: Re-Edit Form? - greatwhitebuffalo - Dec 12th, 2010

Can anyone offer any help on this? I tested the output of the login.php script and get -->

Array ( [submission_id] => 53 [school] => CHG [app_received] => 12/12/1212 [app_type] => FTD [driver_fname] => [driver_initial] => [driver_lname] => [social_security_no] => 111-11-1111 )

The fields in my form have corresponding names. Nothing is being filled into the form though when logging back in. Do I need to do something in the HTML of the form to get it to see these values? Any help would be appreciated.

Thanks!


RE: Re-Edit Form? - akeane - Apr 26th, 2011

Have you solved this problem yet?
I have a few ideas but didn't want to go to far ahead if you have already solved it.

TTFN...



RE: Re-Edit Form? - heywood7 - May 26th, 2011

(Aug 15th, 2009, 2:21 PM)Ben Wrote: Hey Speny,

Ah! That's fine - actually no, don't delete it. Instead, just add a new key-value pair to the $params you're passing to ft_api_process_form (the last row - ignore the other rows, they're just to show the context & are probably different for you):

PHP Code:
$params = array(
  
"submit_button" => "submit_button_name_attribute",
  
"next_page" => "next_page.php",
  
"form_data" => $_POST,
  
"no_sessions_url" => "first_page_in_form.php",
  
"may_update_finalized_submissions" => true
    
);
ft_api_process_form($params); 

The "may_update_finalized_submissions" setting will override the default behaviour & allow you to update a finalized submission. Hope that helps!

- Ben

After adding the '"may_update_finalized_submissions" => true', how does one go about finalizing the file?