AnsweredAssumed Answered

Lightbox form open on click

Question asked by 3fb15204e184e85aa30d783bb4f10f75b67ffd3b on Jun 21, 2017
Latest reply on Jun 22, 2017 by Sanford Whiteman

Hello! I'm trying to create a form where a privacy box pops up upon clicking submit. We only want to allow the submit action on the initial form if they click agree on the pop up.

 

This is what I've put on my test landing page:

<form id="mktoForm_2319" class="mktoForm"></form>

<button id="Sumit"

        class="open-lightbox"

        data-mktoform-id="2319">Submit</button>

<button id="openMktoLightboxFooter"

        class="open-lightbox"

        data-mktoform-id="2319"

 

Unfortunately, the lightbox is popping up upon entry to the page: http://info.sdl.com/formtest.html

 

Any clue what I've done wrong? And how to prevent the submit action unless Agree is clicked? Thanks for any advice.

Outcomes