439
edits
(→Dynamic condition: Added cascade) |
(→Dynamic list selection based on another one: Added a note about cascade) |
||
| Line 202: | Line 202: | ||
The goal is to show two custom fields on the Third-Party module: one which gives the zone (secteur) of the third-party (Isere, Alpes du sud, Haute-Savoie...) and the other which gives relative to the zone the list of all the ski resorts (station_a) inside the selected zone. | The goal is to show two custom fields on the Third-Party module: one which gives the zone (secteur) of the third-party (Isere, Alpes du sud, Haute-Savoie...) and the other which gives relative to the zone the list of all the ski resorts (station_a) inside the selected zone. | ||
NOTE: this will show how to manually manage this kind of requirements using overloading functions, but in latest CustomFields releases, the same solution can be achieved automatically using the Cascade option. | |||
We have one table '''llx_k_station''' (rowid, station (char50), secteur(char50)) which contains the following: | We have one table '''llx_k_station''' (rowid, station (char50), secteur(char50)) which contains the following: | ||
edits