Events are not firing when in find mode

Hi all,

I am expereincing some troubles with comboboxes that share related data.

The best way to explain this would be to say we have three combo boxes (country, province_state, county).

These 3 fields are located within the same table.

When the user selects country, it fills in the id, and uses a relationship to gather the related province_states, etc…

This works fine if the user is in edit mode or adding a new entry to the table.

The problem occurs when the user comes to the form and tries to find records for a particular country province_state and county selection.

The country combobox populates fine, but upon selection, the province_states, and county’s don’t populate.

Any one out there have a solution with maybe a small sample/code that would point me in the right direction?

thank you.

To do what you want let the user input the search data in a non-find mode form that behaves the way you expect it to, then when he pushes the search button you perform the find/search from Javascript based on the data from this search form.
When you enter normal find mode like you tried, things like events, formats are disabled to allow the user to simply perform the search manually…

this is fixed for 5.2.3

there related valuelist will be filled with the related data when the related key is set in the findstate.

So if country is a global table list
then when you set it the state combo that has the relation country_to_state will then show all the states, just as in edit mode.