Hi<BR><BR>I need to set a login system where users choose a login name. <BR><BR>Because the user name will then form part of a html page that will be created for them, I need to make sure they only use certain characters i.e.<BR>&#039a-z&#039, &#0390-9&#039, &#039-&#039, and &#039_&#039 <BR><BR>Has anyone any idea how I acheive this?<BR><BR>My other option is to create a USER field in the database and have it autonumber. The problem with this is I am not sure how to check which number the database has selected when I pass them to the confirmation page. If I use the number method then I will not have any unique fields to check against.<BR><BR>I feel I would prefer to use the second option because if you give a user the option to choose his/her name and it is not availbale it may be off-putting.<BR><BR>Help appreciated.<BR>Jason Barnham