What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to inject CSS into 'thank you' lightbox.

    Asked by adamdurbridge on February 15, 2012 at 05:54 PM

    After submission of a form, the custom 'thank you' message appears in the lightbox window, but with the addition of what looks like two <body> 8px margins. (See screenshot)

    How can I inject css into 'thank you' message so that my own background image fills lightbox??

    Page URL:
    http://in-audio.co.uk/hire/event-pa-system/presentation-and-event-pa-s<br/>ystem-hire-oxford.html

    Screenshot
    css lightbox inject problem! inject CSS
  • Profile Image
    JotForm Support

    Answered by idarktech on February 15, 2012 at 09:45 PM

    Hi,

    I believe css injection for thank you message isn't possible. It also doesn't work inside thank you message as the feature is already deprecated. Since it causes server issue, we don't allow importing/declaring css and other javascript codes.

    e.g.

    <style type="text/css"> and <script type="text/javascript">

    You can only declare styles on your div tags but not separately.

    I hope this clarifies the issue. Should you have any other questions or concerns, please let us know. Thank you for using JotForm!

  • Profile Image

    Answered by adamdurbridge on February 16, 2012 at 05:40 AM

    Thanks. Much as I had suspected.. You'll have noticed I'd already declare a style in the main div, but this is less than ideal.

    CSS injection for thank you message, as with the forms themselves, would be great..

    Thanks again for your response!

    Adam 

  • Profile Image

    Answered by dsdf  on December 11, 2014 at 08:23 AM

    sdsf