C
|
cgphp 5/11/2012 |
Add a new field to the details table that points to the master table. id | master_id
|
W
|
wildwally author 5/11/2012 |
Add a new field to the details table that points to the master table. Example: details_table id | master_id
|
C
|
cgphp 5/11/2012 |
I'm afraid you can't use the native dependent dropdowns if your data are organized in this manner. |
W
|
wildwally author 5/11/2012 |
Ok, can you provide some guidance as to how to just change the values in the dropdown before display or load of the page? I have other instances of exploding data arrays within my site that I can reference, maybe the alternative would be to have the user select a couple of options up fron tthen based on those option run a series of data queries and explodes to build the next page. |
![]() |
Sergey Kornilov admin 5/12/2012 |
Unfortunately it doesn't work this way. |
W
|
wildwally author 5/14/2012 |
Unfortunately it doesn't work this way. The best you can do is to move all logic to Javascript, parsing data and populating dropdown boxes there. This requires pretty heavy coding though.
|
![]() |
Sergey Kornilov admin 5/14/2012 |
Unfortunately you won't be able to make dependant drop down setup to recogonize the custom field. It's just not possible. |
W
|
wildwally author 5/14/2012 |
Unfortunately you won't be able to make dependant drop down setup to recogonize the custom field. It's just not possible. The best workaround is to use the data structure explained by Cristian. To reduce maintenance hurdles you can use a custom control there, displaying data from multiple table records as a single control and saving them back to the database manually.
|
![]() |
Sergey Kornilov admin 5/14/2012 |
This example can help: |
W
|
wildwally author 5/14/2012 |
This example can help: http://xlinesoft.com...iple_values.htm
|