Hey everyone, I’m kind of having some troubles. I have built a login form with the register page built into the same login page. There is a jquery slider, so if they click “login” it will slide to the login form. If they click the “register” link , it will slide to the register form.
The problem I am having is submitting the forms. I am validating both forms, but say I fill out the register form, it will slide back to the login form and ask to type in an email and password.
So I’m wondering if there is a type of code that does this:
If the register submit button is clicked it will only verify the register form. And if the login submit button is clicked it will only validate the login form.
I really like the effect with the two forms on the same page, but I really want to get them both working properly.
Thanks for any help you can provide me with!

although some sample code / example page would help people give you a nailed down answer