Is it possible to show the payment container only on the last page similar to the submit button?
Thank you
Is it possible to show the payment container only on the last page similar to the submit button?
Thank you
Looks like as of the latest update Laserfiche Forms Professional Version 11.0.2311.50553 (Update 5), this is no longer necessary!
Ok, thankfully with how the DOM is structured, we can use the following CSS to hide the payment-container on all pages except the last one.
#payment-container {display: block; } #payment-container:nth-last-child(2) { display: none; }
This will only show the #payment-container if it isn't the 2nd last element on the .form-container.
If you choose not to use pagination next/prev buttons, just change 'nth-last-child(2)' part from the last statement to 'last-child'...
I know someone else asked this question recently (this post) and it hasn't been answered yet.
I think this is basically the same issue as the ReCAPTCHA showing on every page, which Laserfiche opened a bug ticket about (see this post).
I don't know whether or not the bug ticket about the ReCAPTCHA would address the payment collection as well.