Forums

Conflict hideable section with Bixi Vm Chronomodule

laurentmartin 28 Jun, 2011
Hi all,

I am using Chronoform 3.2 and bixie vm chrono module.
I have initiated some hideable section thanks to greyhead recipe.
Unfortunately i found out that adding the two php line to call the js fonction at the beginning of the form provok a conflict with bixie vm chrono module. In a consequence, the form is added to the database but the redirection to the cart to check out simply doesn't work.

I guess there is a conflict but i am absolutely unable to know how to solve it.

Any help is welcome.

Regards
GreyHead 28 Jun, 2011
Hi laurentmartin,

I don't have VirtueMart or the Bixie module so I have no idea what the conflict is - though I find it a bit surprising.

By all means send me either the module code by PM or Email or the site URL and a SuperAdmin login and I'll take a quick look.

Bob
GreyHead 28 Jun, 2011
HI laurentmartin,

I don't know where the Bixi version of the form is but there appears to be a JavaScript error on the ordinary version linked from the Forms Manager. I think this is because the files are being loaded but there are no rel= attributes in the Form HTML for them to work on??

The form is too long to be certain. I'd suggest that you create a cut-down minimal form for testing.

Bob
laurentmartin 28 Jun, 2011
Hi Greyhead,
Ok i will create a small form for you
laurentmartin 29 Jun, 2011
Hi Greyhead,

I have created the form for you. Your help is greatly appreciated.

Regards
GreyHead 30 Jun, 2011
Hi laurentmartin,

Thank you - I've added the lines to load the files and the form appears to work OK if you click the link in the Forms Manager.

Where do I need to go to see this working with the Bixi module?

Bob

PS I looked at the testttt form and that has <form> tags embedded in the HTML which will break the form.
laurentmartin 01 Jul, 2011
HI bob,
I sent to you a PM with the address to access.

You have to access from VM product not from Chronoform.

The form testtt, is a form i did myself by hand not with chornoform.
laurentmartin 04 Jul, 2011
Hi greyhead,

Any news regarding this problem ?

Regard
laurentmartin 07 Jul, 2011
Anyone else that can help on this problem ?

Please help !
GreyHead 08 Jul, 2011
Hi laurentmartin,

Sorry for the delay - some client work got in the way :-(

I've got a fix working for this - it's not perfect but probably usable.

The problem is that the form validation grabs the form onSubmit event and so the BixFormUpdate submission is not executed.

I've removed the onsubmit action from the Form Tag attachment box and put his equivalent code in the Form JavaScript box
window.addEvent('domready', function() {
  $('ChronoContact_orderpsi').addEvent('submit', BixFormUpdate);
});

The odd wrinkle is that the BiXFormUpdate is still run even if there are validation errors (I've made the taxt box on your test form required) and shows an error message. But if you fix the errors and reSubmit all is well.

Bob
laurentmartin 08 Jul, 2011
Hi Bob,

Thanks a lot for your action, indeed now it work well, at least without considering the validation problem. I will keep checking those problems.

Thanks a lot again and wishing you a nice week end !

Bob, i don't see your change, where is it ? I need to adapt it in my other form.
GreyHead 08 Jul, 2011
Hi Laurentmartin,

I've removed the onsubmit action from the Form Tag attachment box and put his equivalent code in the Form JavaScript box

The Form Tag attachment box is on the General tab and the Form JavaScript on the Form Code tab.
Bob
This topic is locked and no more replies can be posted.