Commit f4d3a4a0 authored by Deep Dey's avatar Deep Dey

fix: fix duplicate father email logic

parent b9338fbb
......@@ -236,12 +236,8 @@ $(document).ready(function () {
var formData = new FormData(form);
let jsonData = {};
$('#checkFatherEmail').each(function () {
if (!this.checked) {
formData.set('checkFatherEmail', true);
} else {
formData.set('checkFatherEmail', false);
}
$('#duplicateFatherEmail').each(function () {
formData.set('duplicateFatherEmail', this.checked);
});
//TODO: validate the form for custom validations
......
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