I have a section on my webpage that shows the most recent members who
joined, but I am worried that if someone joines with the name
'aaaaaaaaaaaaaaaaaa' that since there are no spaces that it will
stretch the box it is in and look ugly. What I am trying to do to fix
this by having a script that runs at 'Onsubmit' and checks the
username. Unfortunatly I have no idea how to do this, even though I do
have a small understanding of JS :D
How would I get the following to work in JS?
------------------
If LEN(Username_from_database) is greater than 8 characters AND the
total Spaces is less that 1, alert 'please limit the length of
continus words'.
------------------
Ok, thanks all.