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 remove the X button of the lightbox form

    Asked by Cliff on June 20, 2016 at 08:50 PM

    The code is working as far as not letting the user click outside the light-box to close it but the "X" is still showing on the light-box.

    I injected the code exactly. What could be wrong? 

  • Profile Image
    JotForm Support

    Answered by jonathan on June 20, 2016 at 08:58 PM

    Can you please share to us the URL of your website page where we can test the form used?

    The CSS codes provide by our colleague should be added in the CSS of your website page -- not in the form.

    <style type="text/css">

    /* Disable clicks outside of lightbox */
    .jt-dimmer {
    pointer-events: none;
    /* Hide X close button */
    .jt-title div {
    display: none;



    We will wait for your response