fixing the pattern matching for the phone numbers to allow anything
and I'll fix it later
This commit is contained in:
		
							parent
							
								
									b0dfc4e3b5
								
							
						
					
					
						commit
						d34828cf1d
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -173,13 +173,11 @@
 | 
			
		|||
      <div class="flex-auto flex flex-wrap items-center">
 | 
			
		||||
        <label for="cellphone" class="mr-4">Parent Cell phone</label>
 | 
			
		||||
        <input type="tel" id="cellphone" name="cellphone"
 | 
			
		||||
               pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}"
 | 
			
		||||
               class="flex-auto form-input {{ $formClasses }}">
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="flex-auto flex flex-wrap items-center">
 | 
			
		||||
        <label for="homephone" class="mr-4">Home phone</label>
 | 
			
		||||
        <input type="tel" id="homephone" name="homephone"
 | 
			
		||||
               pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}"
 | 
			
		||||
               class="flex-auto form-input {{ $formClasses }}">
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -188,7 +186,7 @@
 | 
			
		|||
      <input type="text" id="add-emergency-contact" name="add-emergency-contact"
 | 
			
		||||
             class="flex-auto form-input {{ $formClasses }}"
 | 
			
		||||
             placeholder="Full Name">
 | 
			
		||||
      <input type="text" id="add-emergency-contact-phone"
 | 
			
		||||
      <input type="tel" id="add-emergency-contact-phone"
 | 
			
		||||
             name="add-emergency-contact-phone"
 | 
			
		||||
             class="flex-auto form-input {{ $formClasses }}"
 | 
			
		||||
             placeholder="Phone Number">
 | 
			
		||||
| 
						 | 
				
			
			@ -201,7 +199,7 @@
 | 
			
		|||
      <input type="text" id="doctorcity" name="doctorcity"
 | 
			
		||||
             class="flex-auto form-input {{ $formClasses }}"
 | 
			
		||||
             placeholder="Doctor's City">
 | 
			
		||||
      <input type="text" id="doctorphone"
 | 
			
		||||
      <input type="tel" id="doctorphone"
 | 
			
		||||
             name="doctorphone"
 | 
			
		||||
             class="flex-auto form-input {{ $formClasses }}"
 | 
			
		||||
             placeholder="Phone Number">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue