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

    Update Slider Value by URL Parameter

    Asked by nickbh on September 06, 2015 at 08:19 AM



    Anyone know if there is a slider control that


    A) You can set to a value by passing a parameter through URL

    B) Make read only once the value is set.


    I am trying to use a slider to show a review value of a customer.  I would have used the stars rating but already understand that its not possible to pass a value to it via URL or indeed make it Read only - hence trying with a slider?

    I may have a workaround- I may have to use images and conditional formulas and show the image closes to a value passed to a hidden field.


    EG for starts 1-5 I have five pictures.


    I pass a value to a hidden field (between 1 and 5).  Conditionally I show the right number of start as the image.




  • Profile Image
    JotForm Support

    Answered by jonathan on September 06, 2015 at 02:05 PM

    Hi Nick,

    From what I have test so far, you can do pre-populate fields from the Survey tools via the URL parameter value.

    Example form: http://www.jotform.me/form/52485848255467?scale=4&star=3&sliderwidget=35


    BUT the only way to make the fields become Read-Only is by using the form's source code and use javascript code to make them  read-only.

    I workaround I could think of is to use a hidden field that actually contains the same value as the set value of the slider field. Use the value of the hidden field instead of the slider field in the form submissions.

    So even though the end-user can change the slider value visually in the form, once submitted the value is fixed already and cannot be altered.

    Hope this help. Let us know of your feedback on this.