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 "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
Hooks manager and form builder - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16)
+--- Thread: Hooks manager and form builder (/showthread.php?tid=2988)



Hooks manager and form builder - bnkaput - Apr 14th, 2014

I was using hooks manager ft_update_submissions, end
to do a redirect: if submission account redirect. worked great in testing until....

I tried submitting a form_builder/published (created from api) form. The form would not go to the review page. The initial field values would update in the database, but would remain on the first page of the form.

if (array_key_exists("context",$infohash)){
$contextexists = "yes";
} else {
$contextexists = "no";
}

if (($contextexists == "yes") && ($infohash["context"] == "submission_accounts")) {
header("Location: http://".$_SERVER['HTTP_HOST']."/bnedition/modules/form_builder/published/submissionupdated.html");
}

The above works for submission accounts.

any suggestions for the form_builder/published form? The above hooks rule stops the form_builder/published form from paging through to the review and thank you and doesn't finalize the form.
I was hoping since the form_builder/published form would not have this key, it would just ignore the hook and continue on. Instead it just stops the submission from paging.

I have edited php files in the meantime, but would rather use hooks manager so future updates don't wipe out these modifications.

Another
Quick note: I noticed "disable" in hooks manager does not work. If the rule exists it's enabled regardless. There is another post mentioning the same from Feb 2013.
http://forums.formtools.org/showthread.php?tid=2396&highlight=hooks+manage

Just want to make sure you're aware of it.

btw: Love your product