FIX_SalesTrackerValidation

This commit is contained in:
sanjeev.p 2026-04-10 18:02:44 +05:30
parent 7869e4d0f6
commit 79d54dd60b

View File

@ -249,7 +249,7 @@
<div class="col-md-12" style="width: 94%;">
<label class="form-label">Mobile</label>
<!-- <input type="text" class="form-control" name="phone" style="width: 100%;" placeholder="Enter the Phone Number" oninput="this.value = this.value.replace(/[^\d\s+]/g, '')"> -->
<input type="text" id="add_lead_phone" class="form-control" name="phone" style="width: 100%;" placeholder="Enter the Phone Number" maxlength="20" oninput="this.value = this.value.replace(/[^0-9+\\s]/g, ''); validateAddLeadField('phone')">
<input type="text" id="add_lead_phone" class="form-control" name="phone" style="width: 100%;" placeholder="Enter the Phone Number" maxlength="10" oninput="this.value = this.value.replace(/[^0-9+\\s]/g, ''); validateAddLeadField('phone')">
<small id="add_lead_phone_error" class="text-danger d-block mt-1 field-error"></small>
</div>
</div>
@ -577,7 +577,7 @@
<div class="col-md-12" style="width: 94%;">
<label class="form-label">Mobile</label>
<!-- <input type="text" class="form-control" name="phone" style="width: 100%;" placeholder="Enter the Phone Number" oninput="this.value = this.value.replace(/[^\d\s+]/g, '')"> -->
<input type="text" id="edit_lead_phone" class="form-control" name="phone" style="width: 100%;" placeholder="Enter the Phone Number" maxlength="20" oninput="this.value = this.value.replace(/[^0-9+\s]/g, ''); validateEditLeadField('phone')">
<input type="text" id="edit_lead_phone" class="form-control" name="phone" style="width: 100%;" placeholder="Enter the Phone Number" maxlength="10" oninput="this.value = this.value.replace(/[^0-9+\s]/g, ''); validateEditLeadField('phone')">
<small id="edit_lead_phone_error" class="text-danger d-block mt-1 field-error"></small>
</div>
</div>