Hello (again):
I have many cascading dropdown city-county fields in a large form list - basic setup:
city field (db join from simple table of cities in Minnesota).
county (cascading dropdown of a counties table watching first field with city_id as foreign key, etc.).
They work great individually and in a smaller version of the form.
The challenge we face is performance in the full-scale form. It can include up to 21 of these coupled fields.
Any time a user submits, applies, copies etc., the mysql processing is extremely slow.
Running the submission in console (Firebug) shows the bottleneck lies in the many POST requests for the cd elements.
I have optimized tables and Fabrik according to recommendations.
Is it possible to use a javascript-based model instead?
The following snippet might be a model to use, although I would probably use a json file rather than embed the data inside the .js:
http://jsfiddle.net/mplungjan/65Q9L/
Thank you in advance for your help -
Cheers!
Alan
I have many cascading dropdown city-county fields in a large form list - basic setup:
city field (db join from simple table of cities in Minnesota).
county (cascading dropdown of a counties table watching first field with city_id as foreign key, etc.).
They work great individually and in a smaller version of the form.
The challenge we face is performance in the full-scale form. It can include up to 21 of these coupled fields.
Any time a user submits, applies, copies etc., the mysql processing is extremely slow.
Running the submission in console (Firebug) shows the bottleneck lies in the many POST requests for the cd elements.
I have optimized tables and Fabrik according to recommendations.
Is it possible to use a javascript-based model instead?
The following snippet might be a model to use, although I would probably use a json file rather than embed the data inside the .js:
http://jsfiddle.net/mplungjan/65Q9L/
Thank you in advance for your help -
Cheers!
Alan