final FormActivity formActivity = new FormActivity(formConfiguration, formView);
final FormField field1 = new FormField("field1");
formActivity.addFormField(field1);
field1.addValidator(new NotEmptyFieldValidator());
field1.addValidator(new DoubleFieldValidator());
final FormFieldRenderer field2Renderer = new TextBoxFormFieldRenderer("field2");
final FormField field2 = new FormField(field2Renderer);
formActivity.addFormField(field2);