Apply Server Validations to 2 Forms on 1 Page
I am trying to apply server validations on 2 forms that are both located on the same page.
Form 1 (which allows the site user to email the website owner about the current page's listing) has the following validations:
a. Name - Required
b. Email - Must be an email address
Form 2 (which allows a site user to email the current page's listing to their friends) has the following validations:
a. Email - Must be an email address
b. Friend's Email - Must be an email address
Problem - The 1st form appears to validate and prompt errors when it should. However the 2nd form will not submit or prompt errors as it is setup to do using validation showif behaviors.
Attached is my code. Any help is appreciated.
(I would prefer to get this working using server validations, but if this is the wrong approach please advise).
Thanks.
(Using CS5 and latest CSS FB Extension.)