1 message in com.mysql.lists.eventum-usersdynamic custom fields
FromSent OnAttachments
Chen Jia17 Jul 2007 20:00 
Subject:dynamic custom fields
From:Chen Jia (cj@ibigroup.com)
Date:07/17/2007 08:00:02 PM
List:com.mysql.lists.eventum-users

Hello Everyone,

First, thanks for the great tool. I have been playing around with it for weeks and suggested to my group to start using it.

I am having some problem to make dynamic custom fields to work. After reading the source code deeply enough, I don't even see how it is implemented.

Anyway, here is a simple question:

I want to have two list. Say the first one is State and the second one is City. Base on what I select in the State list, I should see different cities in the City list.

I don't care if the data of States/Cities are stored in database, or hard-coded in class.*_list.php file, but how do I make it work? I understand how to create the two list separately, but just can't see how to link the two together. And by reading the source code, I don't see any javascript that would make the list to change dynamically, so I wonder how it is going to work.

Kindly, can you please provide a sample of two files, to show how to link the two together in order to select from a list, which generated based on the other selection?

Thank you and regards,

Chen