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



Form Tools
Filter in Dropdown Custom Field - 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: Filter in Dropdown Custom Field (/showthread.php?tid=4742)



Filter in Dropdown Custom Field - janssenf - Oct 25th, 2014

Hi,

in one of my tables PERSONALCOACH in my database I have the following 2 fields:
  • fldEmail
  • fldStillActive

What code should I create in a Custom Field (type: dropbox) which filters out all records which match the email field of the Account table with mentioned PERSONALCOACH.fldEmail AND where PERSONALCOACH.fldStillActive = TRUE?

Thanks for your help.


RE: Filter in Dropdown Custom Field - janssenf - Oct 28th, 2014

Hi,

maybe more in general: what Smarty code should I use to put the value of column FIELD1 from table TABLE1 into VARIABLE1? I'm struggling with extracting a field value into a variable.

Thanks, Freek


(Oct 25th, 2014, 7:50 AM)janssenf Wrote: Hi,

in one of my tables PERSONALCOACH in my database I have the following 2 fields:
  • fldEmail
  • fldStillActive

What code should I create in a Custom Field (type: dropbox) which filters out all records which match the email field of the Account table with mentioned PERSONALCOACH.fldEmail AND where PERSONALCOACH.fldStillActive = TRUE?

Thanks for your help.



RE: Filter in Dropdown Custom Field - andy_12-12 - Feb 1st, 2015

(Oct 28th, 2014, 1:55 AM)janssenf Wrote: Hi,

maybe more in general: what Smarty code should I use to put the value of column FIELD1 from table TABLE1 into VARIABLE1? I'm struggling with extracting a field value into a variable.

Thanks, Freek


(Oct 25th, 2014, 7:50 AM)janssenf Wrote: Hi,

in one of my tables PERSONALCOACH in my database I have the following 2 fields:
  • fldEmail
  • fldStillActive

What code should I create in a Custom Field (type: dropbox) which filters out all records which match the email field of the Account table with mentioned PERSONALCOACH.fldEmail AND where PERSONALCOACH.fldStillActive = TRUE?

Thanks for your help.

Sorry, I can't help but also trying to find an answer to this!


RE: Filter in Dropdown Custom Field - zeeshan002 - Apr 22nd, 2015

What code should I create in a Custom Field (type: dropbox) which filters out all records which match the email field of the Account table with mentioned PERSONALCOACH.fldEmail AND where PERSONALCOACH.fldStillActive = TRUE?