Same script to validate two forms in the same wordpress page

NepupsepayDew

New Member
Total newbie here. Just one question:I have the same form, a registration form, in the sidebar and in the footer of a blog site. The fields are checked using Jquery and Javascript for validation. The second form in the footer doesn't validate, simply because the fields are the same (of course, its the same form). I cannot create another form or change the fields names because it's the standard of the company and all data is sent to a data base and need to have same name on each field. If you ask why two forms, my answer is 60% of capture comes from sidebar and 40% from footer. Is there a way to make this script validate all fields in both forms? Maybe its a stupid question but I have no idea how to work with Java and Jquery.ThanksAugusto
 
Top