AnsweredAssumed Answered

Updating field value based on constraint selection

Question asked by mikepoole on Sep 11, 2012
Latest reply on Sep 12, 2012 by afaust
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