Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Simple JAVA help

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
Close
Hi

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

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back