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

    Is there a way to lock spinner so you can only use the up and down and not enter custom amounts?

    Asked by wcsmith on April 29, 2016 at 12:14 PM

    We are running an auction and would like bids to be forced to increase by $5 increments. I would like to lock the text box so that only the up and down arrows are able to be used, and the user cannot enter their own custom amount. Is there a way to do this?

    Screenshot
    lock use spinner lock read only control spinner readonly
  • Profile Image
    JotForm Support

    Answered by Nik_C on April 29, 2016 at 01:49 PM

    You can do that by Adding this code below to Custom CSS code:

    #input_5 {

    pointer-events: none; 

    }

    Be mindful that #input_5 is ID of my spinner field. To find out your spinner's ID please follow:

    And then you will find the ID in new window:

    Please try and let me know if that helps.

    Thank you!

  • Profile Image

    Answered by wcsmith on May 05, 2016 at 04:01 PM

    Thank you so much! This is exactly what I was looking for and it worked perfectly!