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 can I create a mouseover effect for the submit button in Jotform?

    Asked by Kevin  on March 13, 2017 at 10:41 PM

    I have two images on my desktop. One for the idle state of the submit button (no mouseover) and one for the active state of the submit button (on mouseover).

  • Profile Image
    JotForm Support

    Answered by Chriistian on March 14, 2017 at 01:46 AM

    To create a mouse hover effect for the submit button, please inject this custom CSS on your form:

    .form-submit-button {

    background: url(IMAGE URL) no-repeat top center;

    border: none !important;

    box-shadow: 0 !important;

    height: 100px;

    width: 100px;

    }

     

    .form-submit-button:hover {

    background: url(IMAGE URL) no-repeat top center;

    border: none !important;

    box-shadow: 0 !important;

    }

     

    Just replace the IMAGE URL with the link of the image.

    If you need further assistance, do let us know.
    Regards.

  • Profile Image

    Answered by KevinVu001 on March 14, 2017 at 02:46 AM
    Hi Chriistian,
    This code works great in the css editor however when I go to open in the
    browser the spot where idle button image is supposed to be is blank and on
    hover only a thin horizontal line shows up (i.e. a small part of the active
    button image). What should I do?
    Thanks,
    Kevin
    ...
  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 14, 2017 at 04:18 AM

    Hello Kevin,

    I did check your last edited form "Enhanced Investor Form" but it does not have any css code injected which was shared by my colleague. 

    Please share the URL of both the images you have and want to display on mouse over and on idle. We will try to help you achieve this.

    We will wait for your response.

    Thank you!

  • Profile Image

    Answered by KevinVu001 on March 14, 2017 at 10:46 AM
    Hi ashwin_d,
    I did try to inject the css code but I removed it once I got the above
    error since I was showing the site to my client yesterday night. Please
    find below the url of the two button images:
    - idle -
    https://www.jotform.com/uploads/KevinVu001/form_files/neon%20gradient%20idle%20v2.465.png
    -
    active -
    https://www.jotform.com/uploads/KevinVu001/form_files/neon%20gradient%20active%20v2.794.png
    Thanks,
    Kevin
    ...
  • Profile Image
    JotForm Support

    Answered by BDAVID on March 14, 2017 at 12:35 PM

    Please remove the image you uploaded through the submit button properties. And inject my colleagues code, I have already added the URL of the images, so please inject the following code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    .form-submit-button{

        font-size: 0px !important;

    }

    #input_7.form-submit-button:hover{

    background: url('https://cms.jotform.com/uploads/image_upload/image_upload/BDAVID/40395_neon%20gradient%20active%20v2.794.png') no-repeat top center !important;

    border: none !important;

    box-shadow: 0 !important;

    height: 100px;

    }

    #input_7.form-submit-button{

    background: url('https://cms.jotform.com/uploads/image_upload/image_upload/BDAVID/40397_neon%20gradient%20idle%20v2.465.png') no-repeat top center !important;

    border: none !important;

    box-shadow: 0 !important;

    height: 100px !important;

    }

    Result: https://form.jotformpro.com/70724310231946 

    Let us know if you need more help.

  • Profile Image

    Answered by KevinVu001 on March 14, 2017 at 11:46 PM
    This works great. Thank you so much I really appreciate it!
    ...