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
Client Add Button - Email Submission Trigger - 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 Add Button - Email Submission Trigger (/showthread.php?tid=3143)



Client Add Button - Email Submission Trigger - bhotrock - Jul 3rd, 2014

I'm new to Form Tools but so far this seems to be a great tool. But I can't figure something out.

The way that I'll be using it is for my staff to create user accounts. I'd like to have a "Welcome" email sent to someone when their account is first setup. I had planned to use the "on submission" trigger to send this email. And I need to send a different email if their information is updated, so I planned to use the "on edit" trigger for that email.

The problem comes because my staff (having client accounts) will be adding new users through the Form Tools interface, not using the actual form. When they click "Add", the new record is created immediately, without user data. Then after the information is filled in, you click "Update" to save the data.

It looks like to me that the "on submission" trigger will never happen for accounts that are created using the "Add" feature. Am I thinking correctly? If so, is there another way to make this work? Would it be possible to "reprogram" the Add button so that it takes me to the actual form? Then we could fill in the information and submit it in the usual fashion.

I might even be able to add a couple links to the Thank You page to Submit another user, or to return to the regular client interface.

I'm open to any suggestions. Thanks!
Brad