fields.add(lastNameField);
DataSourceTextField emailAddressField = createTextField(Field.EMAIL_ADDRESS,
MSG.dataSource_users_field_emailAddress(), null, 100, true);
fields.add(emailAddressField);
EmailValidator emailAddressValidator = new EmailValidator();
emailAddressValidator.setErrorMessage(MSG.dataSource_users_invalidEmailAddress());
emailAddressField.setValidators(emailAddressValidator);
DataSourceTextField phoneNumberField = createTextField(Field.PHONE_NUMBER,
MSG.dataSource_users_field_phoneNumber(), null, 100, false);
fields.add(phoneNumberField);