मैं फोन नंबर फ़ील्ड को सत्यापित करने का प्रयास कर रहा हूं। उपयोगकर्ता अगले स्थान नाम फ़ील्ड में प्रवेश करने के बाद फ़ील्ड मान्य हो जाते हैं। fiddle फोन नंबर फ़ील्ड को अगले फोन इनपुट फ़ील्ड में ऑटो टैब की आवश्यकता होती है। [क्षेत्र कोड (3 अंक) फोकस दर्ज करने पर अगले 3 अंकों के फोन इनपुट फ़ील्ड पर जाना चाहिए)। आखिरी 4 अंकों पर ध्यान केंद्रित करते समय।कोणीयजेएस - तीन इनपुट फ़ील्ड फोन नंबर सत्यापन
<form id="aidLocationForm" class="well form-inline">
<div class="control-group phone-group">
<label for="phone1" class="col-xs-12 col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label">Primary contact number</label>
<div class="controls">
<input type="text" value="" maxlength="3" ng-minlength="3" ng-maxlength="3" class="area-code input-mini aid-primary-phone1-lbl" aria-label="Primary contact number" pattern="/^[0-9]{3}$">
<input type="text" value="" maxlength="3" ng-minlength="3" ng-maxlength="3" class="area-code input-mini aid-primary-phone2-lbl" aria-label="Primary contact number" pattern="/^[0-9]{3}$">
<input type="text" value="" maxlength="4" ng-minlength="4" ng-maxlength="4" class="area-code input-mini aid-primary-phone3-lbl" aria-label="Primary contact number" pattern="/^[0-9]{4}$">
</div>
</div>
<div class="control-group">
<label for="primaryLocationName" class="col-xs-12 col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label aid-primary-location-location-lbl">Primary Location Name</label>
<!-- end of label -->
<div class="controls">
<input type="text" name="primaryLocationName" id="primaryLocationName" class="col-xs-12 col-sm-9 col-md-6 col-lg-6 col-xl-6 aid-primary-location-name-input" ng-model="" required placeholder="Enter the city followed by location" size="50" maxlength="50"
aria-disabled="true" aria-label="Primary Location Name">
</div>
</div>
<button type="submit" class="btn">Sign in</button>
</form>
आपका बेला कार्यात्मक नहीं है। कृपया एक वर्किंग वर्जन पोस्ट करें। – Phix
क्या आपने पोस्ट करने से पहले कंसोल की जांच भी की थी? यह काम नहीं करता है! – Phix
@ फ़िक्स - मेरा बुरा .. मैंने लंबाई की जांच के लिए बुनियादी सत्यापन जोड़े हैं और jquery.jsfiddle.net/priyaa2002/mvsyde1o/ – dragonfly