RIPS Extension - Adds validation on UNHCR #, Phone #, and DOB
Welcome to the RIPS Extension - Validation application! This application will assist users of the RIPS system by showing a warning when certain fields are not correctly populated, and preventing the saving of data. Here's the details on each field: 1) UNHCR Case Number - Support formats are: XXX-XXCXXXXX (new format) XXXX/YYYY (old format) XXX-APXXXXXXXX (new temp format) XXX-CSXXXXXXXX (old temp format) None (if client has no UNHCR number) - X = a number, and Y represents numbers in a year. - This extension also converts lower-case letters to upper-case, and converts the letter 'o' to zeroes! 2) Phone Number (Main & Other) - Phone numbers in Egypt should always be 11 characters, so if the phone number entered is less or more than that range, an error will be thrown. If the phone number is 10 digits, a 0 will be added to the beginning IFF the first number is not already a 0. If the phone number is 10 digits AND starts with a 0, an error will be thrown still. The phone number field also converts the letter 'o' to zeroes and clears all random characters in the "Main" phone number field (letters, dashes, etc). 3) Date (not validated anymore, after updates to the RIPS system) This extension will also warn users if a client is created and the client does not have dependent or vulnerabilities data filled out. Other slight UI changes made by the extension can be seen on the github page. Feel free to email me if there are any problems email: [email protected]
- (2018-06-05) Daniel Davies: Well done, The RIPS guy!
- (2017-05-04) Alex Beaman: WOOOOO