Triggering changes across document fields? (When editing)
Hi there,
I'm looking to implement 'Country' and 'State' dropdown boxes as properties of a content item, and want to set State up update (either from a webservice, or a storedd data array) each time the country is changed. Are there any examples of similar things being done?
I'd like to avoid making it a complex XML datatype, as it'll be a little harder to search.
nope, there's no such thing as dependencies/relations on properties in umbraco, so that one changes, it triggers a change on another. I'm afraid you'll have to build your own custom datatype to handle this scenario. It's not that difficult, there's plenty of info on umbraco.tv for that.
Triggering changes across document fields? (When editing)
Hi there,
I'm looking to implement 'Country' and 'State' dropdown boxes as properties of a content item, and want to set State up update (either from a webservice, or a storedd data array) each time the country is changed. Are there any examples of similar things being done?
I'd like to avoid making it a complex XML datatype, as it'll be a little harder to search.
Thanks.
nope, there's no such thing as dependencies/relations on properties in umbraco, so that one changes, it triggers a change on another. I'm afraid you'll have to build your own custom datatype to handle this scenario. It's not that difficult, there's plenty of info on umbraco.tv for that.
Cheers,
/Dirk
is working on a reply...