ChoiceGroup and TextField on same Form -- how to tell which is selected?

Hi everyone. I have a form with a ChoiceGroup and a TextField. I have 6 pre-defined entries in the ChoiceGroup, and I'd like for the user to be able to either select an entry or enter their own in the TextField. If I have a single command 'Go', is it possible to determine which of the two was selected by the user last?

[330 byte] By [certainlysira] at [2007-11-27 5:17:21]
# 1
Okay, I've solved this. For anyone else who may run in to this, look at using ItemStateListener and use it to catch changes to the ChangeGroup or the TextField.
certainlysira at 2007-7-12 10:40:13 > top of Java-index,Java Mobility Forums,Java ME Technologies...