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
client status pending - 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: client status pending (/showthread.php?tid=1111)



client status pending - godt09 - Mar 2nd, 2011

How is it possible to use a registration/sign up form so as to have the submission of the form set the client's status as 'pending'?

I've seen this:

""Pending" is an option supplied for completeness: the Form Tools API allows you to programmatically create accounts, e.g. you could have a "sign up" form on your website. This setting is the default value for all programmatically created accounts, letting you quickly identify which accounts have been requested."

But how is it that the form is recognised as a 'create account' form?


RE: client status pending - godt09 - Mar 3rd, 2011

What am I missing here?

Perhaps logic. I create a registration form with 'firstname', 'lastname', 'email' and 'password' fields, with public access. I configure the form with Submission accounts, and when a new client submits the form, the client is not added to the client list.


RE: client status pending - godt09 - Mar 20th, 2011

Can anyone point me in some direction here? I am at a loss as to how else I might deal with this. There would seem to be some step that I am missing.


RE: client status pending - Ben - Mar 20th, 2011

Hi godt09,

Sorry for the wait! It sounds like there's a bit of confusion about the definition of user accounts, here.

"Out of the box", Form Tools has two levels of user account: the administrator (you) and client accounts. Client account have to be manually created by the administrator through the interface, or, if you're a developer, write your own code to utilize the API functions to generate those accounts.

The Submission Accounts module is just that: it creates a "user account" out of a submission. Submission Accounts allow people who had originally submitted the form to re-log in later and edit that information. These are not client accounts: they're simply limited access accounts to allow re-editing their own submission - nothing more. If you need to allow people to sign up as client accounts, I'm afraid you'll need to look into the API route.

Hope this helps a bit.

- Ben


RE: client status pending - godt09 - Mar 21st, 2011

Thanks for that: I think I follow - there are client accounts, and user accounts. A user account allows a client to edit his submission of a particular form to which as a client he has been associated.

I'll have to put it into practice to see the implications clearly. But what led me to the confusion was the possibility of a client having a 'pending' status. Or is it that a client is 'pending' until having logged in?