-
1. Re: Use booking form and another form on the same page
TS-Rohit Oct 13, 2014 1:59 AM (in response to gdavisdesign)Hi gdavisdesign,
This issue is recently being reported to our engineering team to test and rectify if found a bug. currently there is no other option to avoid this behavior till the issue is debugged.
Apologies for any inconvenience caused due to this.
Kind Regards,
-
2. Re: Use booking form and another form on the same page
Liam Dilley Oct 13, 2014 2:34 AM (in response to TS-Rohit)Hi,
Actually this is not a bug but how forms work.
BC for events and eCommerce payment use web forms, but they know to do some extra things like booking based on where they are located.
If you put a form in the booking layout or on the page of the booking itself then it will become a booking form, and for any form. So do not put another form in that layout, it needs to be outside of these.
-
3. Re: Use booking form and another form on the same page
JohnSSmith Oct 13, 2014 2:35 AM (in response to gdavisdesign)I wonder as a temporary workaround if this would work -
Place each form on a separate page, and then put them on the same page within iframe's
-
4. Re: Use booking form and another form on the same page
Liam Dilley Oct 13, 2014 3:06 AM (in response to JohnSSmith)Your better off having a template for your event and putting it in that.
-
5. Re: Use booking form and another form on the same page
gdavisdesign Oct 13, 2014 5:56 AM (in response to Liam Dilley)OK, seems the OTYPE for the form was the issue. BC support helped work this out. Because the Booking module overrides any other forms, you need to remove the from the other form’s action on the page. Here’s the fix- Change the OTYPE in the form action: from: OTYPE=
to:
OTYPE=1
This seems to clear up the problem.
-
6. Re: Use booking form and another form on the same page
Liam Dilley Oct 13, 2014 2:32 PM (in response to gdavisdesign)Because I told them, lol. It is just something the engineers do not like everyone to be messing with, that is why I did not tell you it.
-
7. Re: Use booking form and another form on the same page
gdavisdesign Oct 20, 2014 5:24 AM (in response to Liam Dilley)I spent (wasted) a couple days trying to figure this out, though. If the documentation said When using multiple forms on a module page, such as an Events Detail page, set all other forms "Action" to OTYPE=1 for the forms to work on your module page.
Maybe this post will help someone else not waste time:) Unless I'm missing something, this is an easy fix. Are there other problems that can arise by using OTYPE=1 instead of the tag?
-
8. Re: Use booking form and another form on the same page
Liam Dilley Oct 20, 2014 3:22 PM (in response to gdavisdesign)Its not a feature the engineering team want people to know, that is more along the lines of hacking BC, which they do not encourage.




