![]() |
| ||
| javascript problem hi im new to this javascript business and have a problem with the following code <HTML> |
| ||
| Re: javascript problem right forget the last one now i need to get a window that allows Individuals starting a new account to enter the following data: first name, second name and a password of their own choice. Passwords must be at least 7, and no more than 15, characters long (there is no restriction on the type of characters allowed). If users enter a password that is invalid according to this rule then the program displays an explanatory message, telling the user how many characters the password entered actually had, and prompts them repeatedly until a valid password is entered. also the entered data must then be used to allocate the new customer a customer code. The customer code is a string made up of the first letter of the first name, plus the first letter of the second name, and a dash. <HTML> |
| ||
| Re: javascript problem I would have to seriously recommend you do not use JavaScript to validate the passwords. Use a server-side language so the script cannot be viewed by the public. If you publish your password rules then you pretty much give bruce-forcers a head start. It's a bit like saying, "I wont tell you the combination but the first number is between 10 and 20, the second is between 5 and 30 and the last is between 0 and 10" |
| All times are GMT -4. The time now is 1:39 am. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC