Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Design Lobby

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-20-2009, 07:25 PM   #1 (permalink)
Junior Member
 
Join Date: 03-20-09
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

pphfl is liked by many
Help with Javascript form script

I have the form below and I am wanting some help or script suggestions to create a username and password check. If someone enters the wrong username and/or password I would like a message to appear alerting of the wrong entry. All info is stored in the server the form posts to.
Code:
<form action="http://domain.net/clientportal/default_login.asp" method="post" name="form1" onsubmit="return validatePasswords()"><table class="mceVisualAid" style="height: 152px;" align="center" border="0" width="170"> <tbody> <tr> <td class="mceVisualAid"> <h5>Username:</h5> </td> <td class="mceVisualAid"> <h1><input size="17" id="username" class="bodytext" name="username" type="text"></h1> </td> </tr> <tr> <td class="mceVisualAid" colspan="2">&nbsp;</td> </tr> <tr> <td class="mceVisualAid"> <h5>Password:</h5> </td> <td class="mceVisualAid"> <h1><input size="17" id="password" lass="bodytext" name="password" type="text"></h1> </td> </tr> <tr> <td class="mceVisualAid" colspan="2">&nbsp;</td> </tr> <tr> <td class="mceVisualAid">&nbsp;</td> <td class="mceVisualAid"> <div align="right"><input value="http://www.domain.net/index.php/client-login" name="redirecturl" type="hidden"> <input src="http://domain.net/images/signin-2.png" mce_src="images/signin-2.png" value="Submit" name="Submit" type="image"></div> </td> </tr> </tbody> </table> </form>
pphfl is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create this Javascript form? ladan Coding Forum 6 06-12-2009 03:36 AM
Ajax / Javascript Form Help adammc Coding Forum 3 06-01-2007 11:32 PM
Your recommended Form Field Validation Javascript bestempire Coding Forum 1 05-30-2006 08:18 AM
Javascript Form Validation Help ATLien Coding Forum 9 03-13-2006 01:36 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 11:47 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.