Home | Help | Site Map | Mail    
TOP SITE:   Hostdebut.com Elite quality co-located virtual servers

Dbase
» Dbase SourceCode
» Dbase Inc.
» DbaseProgrammers
» Dbase News Groups
PHP
» PHP SourceCode
» Apache Software
» PHP
MySQL
» MySQL Help
» MySQL AB
*HTML
» Validate links
JavaScript
» JavaScript Help
Networking
» Windows commands
» Subnet Math
» Port Assignments
» Telnet connect
» Wireless
Other
» Find a Monster Job
» Find a Dbase Job
» Compare your Salary
» InfoSec Pros
» $9.99 domains
» NT0 Web-Hosting
» 
Cheap Flowers Web-Hosting

SourceCode for DbaseProgrammers.com


Javascript form verify

//**************************************
// Author: Jeremy Martin
// Javascript Form Verify forces you to fill out form fields
//
//**************************************
function filledIn(field)
{

if(field.length<=0)
{
return false
} return true
}

function submitIt(form)
{

if(!filledIn(form.name.value))
{
alert("Please fill in the name field")
form.name.focus()
form.name.select()
return false
}
return true

}

<form name="newbieform" onSubmit="return submitIt(this)" method="post" action="#">
<input name="name" type="text" size="32" maxlength="128">
<input name="Submitnew" type="submit" id="Submitnew" value="Submit">
</form>




Example of the Javascript form verify script

name



PHP OpenSource | Dbase OpenSource | MySQL Help | Home | Contact

The code of the week
Members Area
Society News
DbaseProgrammers.com is currently working on a new PHP admin and Dbase admin for account administration
More Links
 
Whitepapers
ServerWatch
SQL Class
ICANN
IANA
RFC
W3C
Internet.com
NSA-SNAC
Foxnews
  Copyright DbaseProgrammers.com Aug. 2003