I just bought the Forms extension, an I put my multipage Form on the Lightbox. For the Submit Buttojn onClick I selected "Thank you message". Unfortunately after clicking on Submit, the Form is still there and cleared (in the overlay), the "Thank you message" is visible only if I close the lightbox overlay manually.
I tried to use the PHP Scrips field to close the Lightbox overlay after the submission, but no success:
echo " document.getElementsByClassName('ba-overlay-section-backdrop lightbox visible-section')[0].classList.value='ba-overlay-section-backdrop lightbox'
"
How can I get the lightbox overlay closed after the submission automatically?
Thank you!
Marci
Replies are visible only to logged in members with an active subscription.