Project

General

Profile

Feature #1156

Updated by Olga Bakhmat about 6 years ago

h2. When user adds data to the input field and loses the field focus the the data has to be validated in real time. 

 1. NPI - The value has to be 10 digits long.  
 Error message: _"The NPI should be 10 digits"_ 

 2. Key_code - The value has to be 6 digits long (TBD) 
 Error message: _"The Key_code should be 6 digits"_ 

 3. Mobile phone number: The masking technique should be used for the Field; format data when user types data into format: (555) 555-5555, only digits has to be accepted. 
 Error message: _"The phone number should be 10 digits"_ 
 Note: Phone number should be send to server in a following format - "+79200110788" where  
 "+" - required letter 
 "7" - is a country code 
 "920" - area code 
 "0110788" - phone number 
 So user will see a masked input string - +7[areacode][phone], where "+7" should be autopopulated 
 Client logic will populate result string and send it in the specified format 


 

 4. Email address: 
 Error message: _"Please enter a valid email address"_ 

 5. Username (Choose your username) - #1155 

 6. Password*:    8 letters min. 
 Error message: _"Password must contain at least 8 characters including UPPER/lowercase and numbers"_

Back