Morning all, I have a query regarding arrays in form validation. I am trying to limit the number of characters in a username as a method of ensuring that devolved administrators are using the correct length. Correct lengths will be number based, with either 5, 6, 14 or 16 characters being allowed. I can get the limiting to work on a single array (ie 5 characters) by using array ( 0 => 10000, 1 => 99999, ) Does anyone know if it is possible to use an OR statement within an array to check the number of characters in our username scenario above? I have tried numerous formats using standard syntax for or (OR, ||, etc) but i cant seem to get it to work. I have even tried using additional variables to the array, such as array ( 0 => 10000, 1 => 99999, 2 => 100000, 3 => 999999, ) but again this fails. TIA Gordie