Required fields problem

I created an inquiry form on a page w/ fields required on it. I created a js script & placed it on the head tag. It works fine until I placed 2 more forms on the same page making it 3 forms on a page. The first 2 forms required fields doesn’t work but the last form required fields is working.
Anyone knows how to make 3 inquiry forms on the same page w/ a required fields forms?

Thanks in advanced.

flashroiem