Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,618 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,006 people online right now. Registration is fast and FREE... Join Now!




Password Validation

 
Reply to this topicStart new topic

Password Validation

Avelate
post 6 Jul, 2005 - 03:33 PM
Post #1


New D.I.C Head

*
Joined: 3 Jun, 2005
Posts: 11

How do you make a password form?! I made one but it accepts anything you type into it. I need something that redirects a bad password to an error page.

Can someone please help me?!
User is offlineProfile CardPM

Go to the top of the page

Nova Dragoon
post 6 Jul, 2005 - 03:40 PM
Post #2


The Innocent Shall Suffer, Big Time

Group Icon
Joined: 16 Aug, 2001
Posts: 6,128



Thanked 4 times

Dream Kudos: 515

Expert In: Python, Linux

My Contributions


using what language or what system?

You posted in the general programming form
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 6 Jul, 2005 - 04:44 PM
Post #3


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,176



Thanked 33 times

Dream Kudos: 25
My Contributions


Nova raises an excellent point...I would also point out that you do not need to make a password form, as you have one...you need a mechanism by which to validate the input, and take a course of action based on the results of that validation.
User is offlineProfile CardPM

Go to the top of the page

srajrk
post 13 Oct, 2005 - 01:25 AM
Post #4


New D.I.C Head

*
Joined: 11 Oct, 2005
Posts: 1


My Contributions


QUOTE(Avelate @ Jul 6 2005, 05:30 PM)
How do you make a password form?! I made one but it accepts anything you type into it. I need something that redirects a bad password to an error page.

Can someone please help me?!

hi use action errors validate method in the action form class. write simple code to check for blank spaces and null, and these errors should b present in the errors container
User is offlineProfile CardPM

Go to the top of the page

born2c0de
post 13 Oct, 2005 - 04:46 AM
Post #5


printf("I'm a %XR",195936478);

Group Icon
Joined: 26 Nov, 2004
Posts: 3,905



Thanked 34 times

Dream Kudos: 2800

Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions


You'll get much more accurate answers if you specify which language you are referring to.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 03:15AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month