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



Form Tools
Not finalized submissions - 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: Not finalized submissions (/showthread.php?tid=1559)



Not finalized submissions - Lina - Aug 25th, 2011

Hello,
I have a (small) problem. My form is working perfect Smile, but some submissions are not finalized in my database - I have 3-4 good submissions, then 1 not finalized, 5 good, 2 not finalized etc. I found somewhere on the forum that code on the first page creates new blank submission, right? What does this mean? Someone was on page with form and didn't fill up the for and didn't click submit? (All fields are required and there is also verification script on form page)
I'm so happy with form tools Smile so this is not a big problem for me, but I'll be glad to know how to solve it (if it's possible).

Thank you,
Lina


RE: Not finalized submissions - Ben - Aug 26th, 2011

Hi Lina,

Quote:I found somewhere on the forum that code on the first page creates new blank submission, right? What does this mean?

The API works by creating an empty, hidden (i.e. unfinalized) submission when the user goes to the form. They then fill it up with values as they progress through the form pages. Once they click to the thankyou page, the submission is (usually) finalized, which means at that point it's then visible within the Form Tools interface.

The reason it's done this way is to create a storage mechanism for all the form data as the user progresses through the form - the database itself! "Finalization" is a simple way to hide those incomplete submissions until they've been completed.

So when you look at your database, yes - you'll see some unfinalized submissions. Those are from people that either just clicked to the form and didn't fill anything in, or started filling in the form but stopped somewhere along the way. It's normal! Don't worry. Smile

If you don't like your database table getting all cluttered with this dud data, check out this function:
http://docs.formtools.org/api/?page=ft_api_delete_unfinalized_submissions

You can just include that function on one of your form pages and it will clean out the database's old, unwanted unfinalized submissions.

Hope this helps! Smile

- Ben