0

I have few fields in my pojo class which are being represented as checkbox on UI.

private String borrowerEthnicity1;
private String borrowerEthnicity2;
private Integer borrowerEthnicity3;
private Integer borrowerEthnicity4;
private Integer borrowerEthnicity5;
private Integer borrowerEthnicity3;
private Integer borrowerEthnicity7;

I want to validate if at least one of the checkbox is being checked. I am creating my custom annotation but no luck. Please help me on this.

Apurba
  • 3
  • 1
  • 4

0 Answers0