When selecting one of  the country in combo box, it should display the respective cities in the another combo box. I had created a foreign key relationship between 2 entities, city and country. How can I compare the values ?

Hi Ellakkiya Selvadurai,

Please find the attached OML, to see how to implement the dependent combo box.

Hi Ellakkiya Selvadurai,

The city combo box should be hidden or disabled until the user selects the country. When the country is selected, you should call a OnChange action that will get the cities of that country and refresh the cities combo box with that info (and make it visible or enabled).

Best regards,


Hello Ellakkiya,

If you are still having trouble with your use case check out this FAQ about how to set the value of an Input when it depends on the value of another Input.