You are viewing limited content. For full access, please sign in.

Question

Question

Modern Designer - Collect Payment fields showing on every page when using pagination

asked on June 7, 2023 • Show version history

Is it possible to show the payment container only on the last page similar to the submit button?

Thank you

0 0

Answers

APPROVED ANSWER
replied on January 18, 2024

Looks like as of the latest update Laserfiche Forms Professional Version 11.0.2311.50553 (Update 5), this is no longer necessary!

1 0
SELECTED ANSWER
replied on June 14, 2023

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'...

0 0

Replies

replied on June 8, 2023

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.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.