Thanks for the link I did find that code in a search earlier but could not get it working, however I did resolve the problem using another approach. Now I need to make an email text box validate the proper format so that a user cannot enter any characters and get bye. Again this is for Safari since in other browsers it works well.