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
Linking Extended Client Field dropdown to Options List group - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Feature Suggestions (https://forums.formtools.org/forumdisplay.php?fid=7)
+--- Thread: Linking Extended Client Field dropdown to Options List group (/showthread.php?tid=1372)



Linking Extended Client Field dropdown to Options List group - Mark - Jun 16th, 2011

A great feature would be to add functionality to allow the linking of Extended Client Field dropdown boxes to Option List groups.

We rely heavily on the Client Map Filter feature within a View, based on the Clients account name. Currently, in order to match up Views and client logins we have to enter the data twice.

For example; For the "Fabulous Forms Company" client login, we have to create their account name "FAB FORMS" in a dropdown group via the Extended Client Fields module, then select it within their account profile. Secondly, we have to add "FAB FORMS" into the 'Options List' section in order for us to create an "EQUALS" rule in the Client Filter Map section in the relevant form Views.

Hope this makes sense,

- Mark


RE: Linking Extended Client Field dropdown to Options List group - Ben - Jun 17th, 2011

What a terrific idea... after thinking about it for 20 minutes it's finally clear now. Smile

So to summarize what you're suggesting:
(1) install the Extended Client fields module and create a new field that referenced an Option List.
(2) in your form, use the same Option List as one of the fields.
(3) add a client map filter to the form View to ensure that each client would only see those submissions that they're mapped to, due to the option/options selected in the Option List.

I'm Sold! Great idea. And actually not too much work at all.

You're using 2.1.0? I'd be tempted to add this, but only for 2.1.0 support...

- Ben


RE: Linking Extended Client Field dropdown to Options List group - Mark - Jun 17th, 2011

Hi Ben,

Yes we are using 2.1.0...

What you have summarized is spot on! Just to confuse things, in 2.1.0 you can point a dropdown box in a form to another forms field contents. (On the "Fields" tab when editing a form... It's the option in the 2nd tab called "Dropdown Settings" and it's available under the "Form Field Contents" group).

Therefore you could technically implement two options here; the linking of an Extended Client Field to EITHER an Options List (as discussed in your above post) OR the contents of a form field.

Hope that makes sense...

- Mark


RE: Linking Extended Client Field dropdown to Options List group - Ben - Jun 18th, 2011

Hi Mark,

Eesh! True, that would be possible, but trickier. Getting the form field cross-reference stuff all designed right was very tricky. I think I'd just stick with the former option. Let me take a quick look at this today. It's a great idea and I think it'll only take an hour. Might be a nice break from all the other work I've been doing. Smile

- Ben


RE: Linking Extended Client Field dropdown to Options List group - Mark - Jun 23rd, 2011

Just to confirm here - Ben has now included this functionality and I can confirm it works superbly!