Orio, Yes an "A" or "B" value. Also thanks HuggieBear, but I am unsure what all of the items in the expressions you provided mean :( Here is a better ex of what I am doing: I have some users that are identified by a unique 14 digit#, but the first 5 digits of the number meet 2 different values either value "A" or value "B". I provide a subscription service that they can access from home, but want to verify that they are my users before allowing access to the service. In doing this I need to be sure they dont enter a null value, that the value entered is 14 digits, and that it matches either value "A" or value "B". I had this created to evaluate the form field, but it returns false each time: if (empty($id) || strlen($id) != 14 || substr($id,0,5) != '12345' || substr($id,0,5) != '09876') Thanks again for the help