• Hello dear everyone !

    I’m looking to launch a pop up when submitting.

    Here is the code and the script Typeform gave me :

    <a class="typeform-share button" href="https://lesexposalamaison.typeform.com/to/rWIy7o" data-mode="1" target="_blank">Launch me!</a>
    <script>(function(){var qs,js,q,s,d=document,gi=d.getElementById,ce=d.createElement,gt=d.getElementsByTagName,id='typef_orm',b='https://s3-eu-west-1.amazonaws.com/share.typeform.com/';if(!gi.call(d,id)){js=ce.call(d,'script');js.id=id;js.src=b+'share.js';q=gt.call(d,'script')[0];q.parentNode.insertBefore(js,q)}id=id+'_';if(!gi.call(d,id)){qs=ce.call(d,'link');qs.rel='stylesheet';qs.id=id;qs.href=b+'share-button.css';s=gt.call(d,'head')[0];s.appendChild(qs,s)}})()</script>

    I already had this working : ‘on_submit: “window.location.href=’https://lesexposalamaison.typeform.com/to/rWIy7o&#8217;;”‘

    But I’d like a pupup…

    Do you know how to do it ?

    Thanks per advance

    Thibault

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add a Script in on_submit’ is closed to new replies.