diff --git a/app/Views/client_kyc.php b/app/Views/client_kyc.php index 636b07a7..635f3db4 100755 --- a/app/Views/client_kyc.php +++ b/app/Views/client_kyc.php @@ -43,7 +43,7 @@
- +
@@ -92,6 +92,7 @@
+ +
@@ -706,6 +722,9 @@ if (res.status == true) { $('#appendArea_' + dataIncrement).append(res.data.html); + if (typeof window.refreshLeadsFormValidation === 'function') { + window.refreshLeadsFormValidation(); + } let policy_type_id = res.data.policy_type_id; let lead_type = res.data.lead_type; @@ -1076,6 +1095,9 @@ if (response.status == true) { console.log(response.message, 'SUCCESS'); $('#appendArea_' + dataIncrement).append(response.data); + if (typeof window.refreshLeadsFormValidation === 'function') { + window.refreshLeadsFormValidation(); + } console.log("Policy Type ID : ", policy_type_id); if (policy_type_id == 1 || policy_type_id == 6 || policy_type_id == 7) { @@ -1275,6 +1297,9 @@ `; container.appendChild(newRow); + if (typeof window.refreshLeadsFormValidation === 'function') { + window.refreshLeadsFormValidation(); + } //append mutli file html addFileField(increment); diff --git a/app/Views/newClientModal.php b/app/Views/newClientModal.php index 3d40798d..657dd832 100644 --- a/app/Views/newClientModal.php +++ b/app/Views/newClientModal.php @@ -1,4 +1,20 @@ + +