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
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
Dependent fields - 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: Dependent fields (/showthread.php?tid=4621)



Dependent fields - maceved23 - Sep 16th, 2014

Hi,
All

First of all I'm so happy with the FORM TOOLS solution it really helps me.

I'm in the process of finishing a form and I need some advise regarding a dependent field for the registration of my users.

The problem is that I need to setup city registration like that:

1- Dropdown filed to show: state example: AM - AMAZONAS
2- If dropdown field number 1 is selected in: AM - AMAZONAS
then the other dropdown should show: IPIXUNA
IRANDUBA

To be more detailled as programmer I show it this way:

PAIS ESTADO CIDADE
BRASIL AM - AMAZONAS IPIXUNA
BRASIL AM - AMAZONAS IRANDUBA

I want to know if there is a way to setup this inside admin of FORM TOOLS. If not can anyone tell me the way to do it manually and in witch file I have to do the codding?? I couls do it the old way with JS but don't know where to setup my code.

Please let me know if you have an advise or solution, I think I'm not the first one with that quiestion.

Best regrads.

Mario Acevedo


RE: Dependent fields - maceved23 - Sep 16th, 2014

Hi,
Does anyone has exierience the same problem that I'm facing at this moment?

I really don't know where to find some solution or advise, any help is appreciated.

Mario Acevedo


RE: Dependent fields - maceved23 - Sep 17th, 2014

Hi,

I really need some advise on my issue could someone please let me know what to do?

I have search for more than 3 days without any solution.

Regards


RE: Dependent fields - maceved23 - Sep 18th, 2014

Hi,People
Hi, Ben

I spent all my night looking the forum and all the documentation and I don't find any solution for my issue. I need some urgent help, I'm sure that I'm not the first one with a proble lile mine.

I need to have 2 related DropDown thet when I select a country I see the related city.

I don't know where to search more.

HELP PLEASE


RE: Dependent fields - Joe - Sep 18th, 2014

Hello Mario,

Unfortunately, this is not possible to do on either the Form Builder or within the Form Tools admin. You would need to customize the code yourself in order to achieve that which would be a significant amount of work to make it work dynamically. The best solution would be to just list out all the options in the drop down for each field.

Cheers,

Joe


RE: Dependent fields - stonebont - Jul 16th, 2017

(Sep 16th, 2014, 7:28 AM)maceved23 Wrote: Hi,
All

First of all I'm so happy with the FORM TOOLS solution it really helps me.

I'm in the process of finishing a form and I need some advise regarding a dependent field for the registration of my users.

The problem is that I need to setup city registration like that:

1- Dropdown filed to show: state example: AM - AMAZONAS
2- If dropdown field number 1 is selected in: AM - AMAZONAS
then the other dropdown should show: IPIXUNA
                                                    IRANDUBA

To be more detailled as programmer I show it this way:

PAIS        ESTADO                    CIDADE
BRASIL AM - AMAZONAS            IPIXUNA
BRASIL AM - AMAZONAS            IRANDUBA

I want to know if there is a way to setup this inside admin of FORM TOOLS. If not can anyone tell me the way to do it manually and in witch file I have to do the codding?? I couls do it the old way with JS but don't know where to setup my code.

Please let me know if you have an advise or solution, I think I'm not the first one with that quiestion.

Best regrads.

Mario Acevedo