How to force number Spinner to 1 and prevent users from changing it based on a previous answer?

  • Profile Image
    LFV_Coop
    Asked on September 22, 2025 at 9:37 PM

    I have a single choice option, A to E

    If a user chooses A,B,C,D then later in the form they are free to use the spinner to any number.

    however, if they choose E, then how do I force the spinner to stay at 1 and prevent the user from chaning it? I would just show / hide other spinners, but it messes up my PDF and heaps of other calculations if I go down this route

    Thanks :)


  • Profile Image
    Sonnyfer JotForm Support
    Replied on September 22, 2025 at 10:15 PM

    Hi Andy,

    Thanks for reaching out to us for help. I can't seem to locate the choices A, B, C, D, and E, on your last form. But anyhow, you can use conditions to change the Spinner value to 1 and prevent your users from changing it if they selected E on a Single Choice option. Let me show you how to set the Spinner value to 1 first:

    1. In Form Builder, click on Settings in the orange navigation bar at the top.
    2. Select Conditions from the left sidebar and click on Update/Calculated Field.
    3. Set the condition like this: If Single Choice = E, then Insert/Select 1 in the Spinner.
    4. Click on Save.

    How to force number Spinner to 1 and prevent users from changing it based on a previous answer? Image 1 Screenshot 60

    Here's the close-up view of the condition for your reference:

    How to force number Spinner to 1 and prevent users from changing it based on a previous answer? Image 2 Screenshot 71

    As for preventing your users to change the Spinner value when they selected E, check out the steps below:

    1. Still in the Conditions section, click on Add Condition and select Enable/Require/Mask Field.
    2. Set the logic like this: If Single Choice = E, then Disable the Spinner.
    3. Click on Save.

    How to force number Spinner to 1 and prevent users from changing it based on a previous answer? Image 3 Screenshot 82

    Here's a close-up view of the condition:

    How to force number Spinner to 1 and prevent users from changing it based on a previous answer? Image 4 Screenshot 93And that's it. It works like this:

    How to force number Spinner to 1 and prevent users from changing it based on a previous answer? Image 5 Screenshot 104

    You can also clone my demo form here.

    Let us know if you need any more help.

  • Profile Image
    LFV_Coop
    Replied on September 22, 2025 at 10:25 PM

    Excellent thank you, just the disable conditon should do the trick as default is 1 - not sure how I missed the disable option!

    Thanks again

Your Reply