Related selectors

0
I have a select field that depends on a previous select field, for example: Country, state. To choose the state I must first select the country and once I select the country, only the results of that particular country will appear in the state field. Then run the scenario to cities, so that the cities corresponding to the state of the country that I selected at the beginning appear in the city selector.   Mendix version 10.1.1
asked
2 answers
1

Details are explained in this section: https://docs.mendix.com/refguide/reference-selector/#xpath-constraints
 

Using this domain model

For creating a new person, you can set up the selectable objects for reference selectors.

In this example, the selectable State MUST be associated to the same Country that you first selected for this person.

answered
0

Thanks for your comments, I have one more question: How should I create a city and I want to add the same hierarchy? I would like to choose the country first, then the state, and then create the city.

answered