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 make Percentage widget read-only?

    Asked by ebuabua on February 18, 2017 at 07:22 PM

    Is there any way that I can control the percentage widget and make it disabled for the form viewer so that they can only see it instead of being able to edit it?

     

    Thanks!

  • Profile Image
    JotForm Support

    Answered by Nik_C on February 19, 2017 at 06:57 AM

    You would like to make it read-only if I understood you completely?

    If that's the case you can copy and paste the below CSS in your Custom CSS field:

    #customFieldFrame_17{

      pointer-events: none;

    }

    That will make your Percentage widget read-only. 

    If you had something else in mind, please let us know.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by Nik_C on February 19, 2017 at 08:58 AM

    Please check this screencast I made:

    It is working fine in Preview mode as well, as you can see, I'm unable to click the Percentage widget. Or you would like to do something else?

    We'll wait for your response.

    Thank you!

  • Profile Image

    Answered by ebuabua on February 19, 2017 at 09:33 AM

    Can I set a percent and then have it displayed as read only?  It seems like the percentage keeps resetting to 0%

  • Profile Image
    JotForm Support

    Answered by ashwin_d on February 19, 2017 at 11:58 AM

    Hello ebuabua,

    I am not sure if I have understood your question correctly. Do you mean to say that you want to allow users to set a percentage and then make it read only?

    Unfortunately it is currently not possible to keep your "Percentage" widget to be enabled and the disable it once the percentage is selected. I will do further tests and see if there is any workaround available with conditions.

    Thank you!