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



Form Tools
Leaving form entries unfinalized - is it a problem? - 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: Leaving form entries unfinalized - is it a problem? (/showthread.php?tid=23590)



Leaving form entries unfinalized - is it a problem? - NeilW - Apr 15th, 2017

Hi,

I have a multi-page form where I want to allow users to make updates as required.

Specifically, each user should have only ONE entry per table. I am not setting my users up formally in Form Tools because all of my pages are behind a membership database system and I am able to pull each user's unique member id out of that database and add it to my table so that the unique member id can still be used as a key in form tools.

I can see how I can populate each form field with previously submitted data so the user can edit it.

The only thing is that it seems that if I finalize the form on the last page, the user cannot go back in and edit their submission without it creating an additional entry for that user in the table.

For a layman like me, the easiest thing seems to just leave the form unfinalized to allow subsequent edits/updates.

The user may want to continue with subsequent edits/updates for 12 months or more.

So my question is, is there a command to set the form back to "unfinalized"prior to any subsequent edits/updates and then re-set it to finalized once the subsequent edits/updates are completed, or is it OK to just leave the entries "unfinalized" over the full period of time?

Looking forward to some clarification or advice.

Thank you.

- Neil