Skip to main content
Ryan_Worden1
Level 2
August 22, 2018
Question

Prevent RTP Dialog from Closing on Click

  • August 22, 2018
  • 1 reply
  • 1356 views

Okay Marketo Community, here is the scenario: Dialog Box pops up with a single field form and CTA to "Reveal a Discount Code". After submission, the discount code replaces the form and the Dialog Lightbox remains on screen until the close button is clicked.

I currently have the functionality working for the Form and Discount Code reveal, but the Dialog Box closes moments after form submission, leaving little time to view the discount code. Does anyone know if I can include a script to override the Dialog Box closing after a click/form submission?

Thanks,

Ryan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Grace_Brebner3
Level 10
August 22, 2018

Hey Ryan,

Can't be sure without seeing your code, but in my personal experience this is usually controlled by a javascript timeout. If you're able to find this in your code, it's likely to be what's causing it.