I have a property on my form that has a constraint built from a Java class. I would like to update the value of a second field on the form with a value when the user selects one of the options
IE: my field "CountryCode" has 3 options: "UK", "USA", "GER"
When the user selects one of the options, there should be another field "CountryLabel" that gets updated with "United Kingdom", "United States of America", "Germany" based on the selection
I have all my Java code in place and am confident I can get the correct value based on the selection but I'm unsure as to the approach I need to take. Do I add a listener to my CountryCode field?
HELP!!!!! :?
Many thanks
Mike