Click to See Complete Forum and Search --> : Show error next to form field


kimoo
June 24th, 2007, 01:08 PM
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

kimoo
June 24th, 2007, 08:05 PM
hey guys me and a friend of mine found the solution i love this..

check out the attachment

kimoo