Validating textarea javascript


This is the best book on the subject I’ve ever read, showing you step-by-step the smartest ways to create usable, useful DHTML effects to enhance your site.

Dear all, I have having a text area field which has a limit of 100 characters only.

Now, i also want to validate it such that it should only contain letter's (alphabet A-Z .a-z). If such things entered it should throw me an error saying invalid arguments like that.

Either rely on VAR (by-reference) parameters or return a record, or something even more complex...

No, a Delphi function can return multiple values and there are different ways how to achieve this goal.

It's also very precise, as you can point out the exact field where there's a problem.