lightbox code is stripped when I place in html box

  • tristansmith
    Asked on September 30, 2014 at 5:02 PM
  • Jeanette JotForm Support
    Replied on September 30, 2014 at 7:06 PM

    Only a few HTML tags are allowed to be pasted into HTML widget, but tags like <script> are not

    This is to prevent XSS (Cross Site Scripting) and it's part of security enhancement our devs implemented.

    What you can do is to make an HTML page, embed the lightbox code there and and upload it to your hosting service (or any free hosting)

  • tristansmith
    Replied on September 30, 2014 at 7:21 PM
    Can I use the submit button to activate a lightbox form?
    Tristan Smith
    Cabrillo Mortgage and Realty
    www.1SanDiegoHomes.com
    619-564-6986 direct
    619-202-7729 fax
    ...
  • Jeanette JotForm Support
    Replied on September 30, 2014 at 11:08 PM

    No, you can't, the light box code must be embedded into an html page, you must use a free hosting service to embed it.