2 form in the same page

AleAste 14 Sep, 2011
Good morning, I have 2 forms in the same page in many pages of my website. The second form does not work..never. I have created some js controls and they are not executed, the button submit does not work... the form seems to be disabled.. I have changed the name of the field and functions js so they are not the same of the other form. You said that this problem would have been solved with the 2.0 version but I have upgraded mine to that version and I have always the same problem.
Thanks,

Francesco
GreyHead 15 Sep, 2011
Hi Francesco,

I've no idea. Like you I thought Max had fixed that problem.

Please post a link to the form so I can take a quick look.

Bob
AleAste 27 Sep, 2011
ok, here is the home page... you can see 2 forms here or in most of the website's page. The one in the top it's ok, not the bottom...
<!-- w --><a class="postlink" href="http://www.marketingstrategy.it">www.marketingstrategy.it</a><!-- w -->

Thanks🙂

Francesco
GreyHead 27 Sep, 2011
Hi Francesco,

There are JavaScript errors showing up on the second form because your custom validation functions valNome() and valTele() aren't defined. In the first form you have use valName() and valTel().

Bob
AleAste 27 Sep, 2011
no, the functions are defined, I have changed the name from the other one to avoid conflicts... I have already used 2 forms in the same page with 3.2v in another website and you told me to use different function names and i had no problems..so I have used tha same way..
GreyHead 27 Sep, 2011
Hi Francesco,

Here's what I see:
[attachment=0]27-09-2011 17-26-23.png[/attachment]

Bob
AleAste 27 Sep, 2011
If I do the same control with firebug I see only the first 2 errors.. why?
Anyway...you said my functions are not defined...what do you mean? I have inserted the functions in the JS section.. is right?Do you think I have forgotten something?
GreyHead 27 Sep, 2011
Hi Francesco,

I can only tell you that I am seeing these errors in FireFox. It may be that you have the scripts cached from some other page???

Bob
AleAste 03 Oct, 2011
Good Morning,
I am still here...I have controlled my functions but I don't see anything different from the other forum.. I have changed all the field name, field id and functions name. The functions are defined as in the other forms.
I don't know why it shows that messages.. :?
GreyHead 03 Oct, 2011
Hi Franvesco,

Here are the errors that I see now (in Opera this time).

Bob
AleAste 03 Oct, 2011
ok, but what could depend on these errors? As I said in the previous post I have about 10 forms in my website, and only the footer form doesn't work.. but I have created in the same way as the others.. shouldn't be that is a problem of 2 forms as we said in the past weeks?😢
GreyHead 03 Oct, 2011
Hi Francesco,

As far as I can tell the validation doesn't work because of these errors. You can see them appear when you tab through the inputs on the bottom form.

I just looked at the telephone input and it calls a function valConfTel() that doesn't appear in the page. There is a valConfTele() function though.

I don't see any alternative to debugging your code. You aren't using the ChronoForms validation code and there not much that I can do to help you from here :-(

Bob
AleAste 03 Oct, 2011
I've seen the error messages..

I just looked at the telephone input and it calls a function valConfTel() that doesn't appear in the page. There is a valConfTele() function though.


This is what i'm saying..valConfTel is the function for the form footer, instead valConfTele is for formHome (the form in the top). I have used different names.. and the same is for the other fields..
GreyHead 05 Oct, 2011
Hi Francesco,

I'm not sure what else I can do. You have used a custom validation script that shows some errors when I try to check it. They need to be fixed. Telling me that they aren't errors doesn't make any difference to the site :-(

Bob
This topic is locked and no more replies can be posted.