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