No Personal Email Submissions

  • 28 November 2016
  • 7 replies
  • 51 views

Hi there, I’ve looked at this thread (Modify form validation to prevent free email domains?) and implemented this script (https://gist.github.com/markwainwright/0c600a808a6477d138b8), but it doesn’t seem to work for Lightbox forms. Please assist, I would really like to use this script for Lightbox lead-pages as well. Thanks!


7 replies

Userlevel 7
Badge +1

Hey Bertus! Welcome to the Community! :spinbounce:

I’ve reached out to my colleague @Mark_Wainwright who can provide more insight on this, as he came up with this script originally.

Unless any of the @Unbounce-Experts have any input in the meantime, Mark will reach out shortly!

Userlevel 2

Hi @Bertus_Schoeman! Thanks for reaching out.

I tested this out and I was able to get it working with a lightbox form.

First of all, make sure you add the script to the Javascripts section of the lightbox that contains the form. The script won’t work if it’s placed on the main page.

Second, make sure you edit the line of the script that starts var field – replace email_address with the actual ID of the form field you wish to add the validation to.

Let us know how you get on!

Hi @Mark_Wainwright,

I couldn’t find a more up to date topic on this. Where does your script need to be placed? Head or body tag? Can this also be placed in the account wide scripts or does it need to be added to every page?

Thanks

Userlevel 1

We’re still interested in this topic as well!

Hey! I can’t acess this link on github. @Mark_Wainwright . I need  the same thing: no personal emails submissions. Can you help me? thank u

 

Userlevel 3
Badge +1

Hey @gabriel_soares 👋🏻 Thanks for pointing this out, I’ve reached out to Mark for an updated version, stay tuned!

Userlevel 3
Badge +1

Hi again @gabriel_soares, Mark recommended the non-webmail email addresses script found in this post. Can you give that a try and let me know if it works for you? 

 

Reply