FormListUtil.addAddButtonToAddForm("#", formList, addForm);
}
private void addCommonFormFields(FormWidget form) throws Exception {
form.addElement("name", "#First name", new TextControl(), new StringData(), true);
form.addElement("surname", "#Last name", new TextControl(), new StringData(), true);
form.addElement("phone", "#Phone no", new TextControl(), new StringData(), false);
form.addElement("birthdate", "#Birthdate", new DateControl(), new DateData(), false);
}