Prevent submit button to close lightbox
-
I can’t believe not finding an answer to this after hours of googling so I’ll try here.
I times of more restrictive privacy laws, whenever one collects user data there should be user consent.
So, this works with a wpcf7 form in a normal page:
— some collected data here —
[submit “Send”]
[acceptance acceptance-991]Click here to accept our
Privacy Policy (Required)
[/acceptance]However, if the same form is displayed in a lightbox (at least with Flatsome), after clicking “Send” the lightbox just closes. If the acceptance checkbox is marked, the mail is sent ok (but the submitter does not know if it did), if it is not, there is just silence.
So the question is, how do I prevent the lightbox from closing the the sender sees if the submission went through or not?
Perhaps I’m missing the obvious but I just cannot figure it out.
- The topic ‘Prevent submit button to close lightbox’ is closed to new replies.