new ChangeListener() {
public void stateChanged(ChangeEvent e) {
ValidationContext valCtx = ((ActivityRecord)thisForm.getInstance()).getActivity().validate(null);
if(valCtx!=null && valCtx.size()>0){
StringBuffer errMsg = new StringBuffer();
for(Enumeration enumeration = valCtx.elements(); enumeration.hasMoreElements();){
Object item = (Object)enumeration.nextElement();
errMsg.append(item +"\n");
}
validationPanel.setText(errMsg.toString());
}else