Show error next to form field

Hello,

I got a form in a PHP file, and i got a few questions to ask

1. i have written my validation code in a *.js file. How can i call it in my PHP page?

2. how can i make my validation code show the error (if any) next to the form field? is this done using <div> tag? if so then how?

3. Can i call a *.js file from another *.js file or can i call a function in a *.js file from another *.js file?

thanks
kimoo
[467 byte] By [kimoo] at [2007-11-20 8:48:26]
# 1 Re: Show error next to form field
hey guys me and a friend of mine found the solution i love this..

check out the attachment

kimoo
kimoo at 2007-11-8 0:42:35 >