Hello,
We are using CGBF (1.10.4) to display a form (Booking) which upon submission displays another form (Payment) via the form output. The idea is that the data(total costs) from the Booking form is passed through to the payment form where the user pays. The first part of the process works as expected so users can book and be directed to the payment form but the issue is that the payment form does not submit. Instead of showing the payment form thank you message, it displays the blank booking form.
Any ideas would be greatly appreciated.
Thanks,
James
CGBetterForms form submission not working
Re: CGBetterForms form submission not working
Have you checked the php error logs, and the admin log?
Not getting the answer you need? CMSMS support options
Re: CGBetterForms form submission not working
Hi DIGI,
I have checked the logs and there isn't anything relating to the form submission error. I should also say that the forms are being loaded inside a LISE detail page and not an actual page (I don't know if this affects it in any way).
Another way I've tried is to redirect the first form to a "thank you" page that contains the second form but the problem is that doing so we end up losing the data collected from the first form.
Any ideas?
Thanks,
James
I have checked the logs and there isn't anything relating to the form submission error. I should also say that the forms are being loaded inside a LISE detail page and not an actual page (I don't know if this affects it in any way).
Another way I've tried is to redirect the first form to a "thank you" page that contains the second form but the problem is that doing so we end up losing the data collected from the first form.
Any ideas?
Thanks,
James
Re: CGBetterForms form submission not working
I don't have any guesses as to why it wouldn't show the thank you message, unless it's set to not do that. It could be because it's in a LISE template, do you have the forms set to display inline?
To do the second form on a thank you page you'd need to capture the posted data, and apply them to hidden fields in the new form. There might be a more efficient way to do this but that's what I do.
To do the second form on a thank you page you'd need to capture the posted data, and apply them to hidden fields in the new form. There might be a more efficient way to do this but that's what I do.
Not getting the answer you need? CMSMS support options
Re: CGBetterForms form submission not working
Thanks for getting back to me.
I do have both forms set to display inline. I tried to set the second form to not display inline but the issue persists. I'll try it with both forms not set to display inline.
I've tried to capture the posted data but I can't get it to work on the actual thank you page. I've also tried just having one form but I am using StripeGate to show the payment button and it doesn't dynamically change the price based on the form's selection.
I do have both forms set to display inline. I tried to set the second form to not display inline but the issue persists. I'll try it with both forms not set to display inline.
I've tried to capture the posted data but I can't get it to work on the actual thank you page. I've also tried just having one form but I am using StripeGate to show the payment button and it doesn't dynamically change the price based on the form's selection.


