Commit e6c408e1 authored by Deep Dey's avatar Deep Dey

chore: update form validation

parent 075e2300
...@@ -75,26 +75,19 @@ public class AdmissionFormData { ...@@ -75,26 +75,19 @@ public class AdmissionFormData {
private String fatherMonthlyIncome; private String fatherMonthlyIncome;
private String fatherWorkplaceInfo; private String fatherWorkplaceInfo;
@NotEmpty(message = "Mother Name cannot be empty")
private String motherName; private String motherName;
private String motherMobile; private String motherMobile;
private String motherEmail; private String motherEmail;
@NotEmpty(message = "Mother Nationality cannot be empty")
private String motherNationality; private String motherNationality;
@NotEmpty(message = "Mother Religion cannot be empty")
private String motherReligion; private String motherReligion;
private String motherDenomination; private String motherDenomination;
private String motherChurch; private String motherChurch;
@NotEmpty(message = "Mother Mother Tongue cannot be empty")
private String motherMotherTongue; private String motherMotherTongue;
@NotEmpty(message = "Mother Community cannot be empty")
private String motherCommunity; private String motherCommunity;
@NotEmpty(message = "Mother School Info cannot be empty")
private String motherSchoolInfo; private String motherSchoolInfo;
private String motherCollegeInfo; private String motherCollegeInfo;
private String motherUniversityInfo; private String motherUniversityInfo;
private String motherProfessionalQualification; private String motherProfessionalQualification;
@NotEmpty(message = "Mother Occupation cannot be empty")
private String motherOccupation; private String motherOccupation;
private String motherMonthlyIncome; private String motherMonthlyIncome;
private String motherWorkplaceInfo; private String motherWorkplaceInfo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment