WHOOPS! Change this line to if length(tPhoneNumber) <> 14 AND length(tPhoneNumber) <> 12 then > On Sep 11, 2017, at 11:20 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote: > > if length(tPhoneNumber) <> 14 or length(tPhoneNumber) <> 12 then