FIX POSTAL CODE VALIDATION
This commit is contained in:
parent
457eab75e6
commit
82d9e6591f
@ -173,7 +173,7 @@
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<label for="bzip" class="col-form-label">Postal Code<span class="text-danger"> *</span></label>
|
||||
<input type="number" class="form-control" id="bzip" name="bzip[]" placeholder="Postal Code" required pattern="\d*" maxlength="6" />
|
||||
<input type="number" class="form-control" id="bzip" name="bzip[]" placeholder="Postal Code" required pattern="\d*" maxlength="6" oninput="this.value=this.value.slice(0, this.maxLength)" pattern="\d{6}" title="Please enter a 6-digit postal code." />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -245,7 +245,7 @@
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<label for="szip" class="col-form-label">Postal Code<span class="text-danger"> *</span></label>
|
||||
<input type="number" class="form-control" id="szip" name="szip[]" placeholder="Postal Code" required pattern="\d*" maxlength="6" />
|
||||
<input type="number" class="form-control" id="szip" name="szip[]" placeholder="Postal Code" required pattern="\d*" maxlength="6" oninput="this.value=this.value.slice(0, this.maxLength)" pattern="\d{6}" title="Please enter a 6-digit postal code." />
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@ -720,7 +720,7 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="bpincode" class="col-form-label">Pincode</span></label>
|
||||
<input type="number" class="form-control" id="bpincode" name="bpincode" minlength="6" maxlength="6" placeholder="Pincode" />
|
||||
<input type="number" class="form-control" id="bpincode" name="bpincode" maxlength="6" oninput="this.value=this.value.slice(0, this.maxLength)" pattern="\d{6}" title="Please enter a 6-digit postal code." placeholder="Pincode" />
|
||||
|
||||
</div>
|
||||
<div class="form-row">
|
||||
@ -772,7 +772,7 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d
|
||||
<!-- Pincode -->
|
||||
<div class="form-group col-md-6">
|
||||
<label for="spincode" class="col-form-label">Pincode</span></label>
|
||||
<input type="number" class="form-control" id="spincode" name="spincode" minlength="6" maxlength="6" placeholder="Pincode" />
|
||||
<input type="number" class="form-control" id="spincode" name="spincode" maxlength="6" oninput="this.value=this.value.slice(0, this.maxLength)" pattern="\d{6}" title="Please enter a 6-digit postal code." placeholder="Pincode" />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -886,7 +886,7 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="quick_billing_postal_code"> Postal Code<span class="text-danger"> *</span></label>
|
||||
<input class="form-control" type="number" id="quick_billing_postal_code" required placeholder="Postal Code" maxlength="6">
|
||||
<input class="form-control" type="number" id="quick_billing_postal_code" required placeholder="Postal Code" maxlength="6" oninput="this.value=this.value.slice(0, this.maxLength)" pattern="\d{6}" title="Please enter a 6-digit postal code.">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-md-12 text-right">
|
||||
@ -934,7 +934,7 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="quick_shipping_postal_code"> Postal Code<span class="text-danger"> *</span></label>
|
||||
<input class="form-control" type="number" id="quick_shipping_postal_code" required placeholder="Postal Code" maxlength="6">
|
||||
<input class="form-control" type="number" id="quick_shipping_postal_code" required placeholder="Postal Code" maxlength="6" oninput="this.value=this.value.slice(0, this.maxLength)" pattern="\d{6}" title="Please enter a 6-digit postal code.>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user