Simple JAVA help

SpaceshipSpaceship
Watch

noswad

Established Member
Impact
1
I have this code:

PHP:
<script Language="JavaScript">
<!--
function Form1_Validator(theForm)
{
	if (theForm.username.value == "")
  {
    alert("Please enter a username");
    theForm.username.focus();
    return (false);
  }
}
//--></script>

Can anyone develop this so that if u user enters non a-z, 0-9 characters, an error message popsup?

I have tried and tried with no luck :'(

Thanks for reading.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
•••
Hi

Thanks for the reply but I dont understand Javascript at all lol.
 
0
•••
The question is about javascript,not java question
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Zero Commission
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back