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.
How can I prevent users from modifying a field?Asked by grrguitar98 on February 22, 2017 at 02:15 PM
I have a form question asking a child's grade: K-5th.
Later on in the form, I have a security tag option: Red or Green. The Red tag description says that it is mandatory for Kindergarten and I have made the red option the default. I have some parents manually changing that option to Green even though they selected their child is in Kindergarten.
Is there a way to force the Red option if they selected Kindergarten earlier in the form so they cannot select Green? If I hide the Red or Green question, then I'm assuming it won't be filled out on the form for a print-off of that child, which I need.
You may set the field as READ-ONLY so users/respondents can't interact with it. A read-only field should still be targeted conditionally.
So, if you already have the condition in place and it's working, just click the field you want to restrict on your form > GEAR icon > ADVANCED tab > toggle READ-ONLY to ON.
In case we misunderstood your question, just get back to us with a bit more info (e.g. the Form ID/URL, which fields you're referring to, etc) and a clearer description of what you're trying to do so we can better assist you.
I like the idea of read-only but how can I make it read-only for when they select Kindergarten for the grade but not read-only for other grades?
You may setup a condition to choose the radio option by default and disable it based on the option selected in the previous answer. To change the radio button option based on the previous answer selected, you can setup the condition using Update/Calculate field as shown below:
To disable a field on the form, you can use Enable/Required field condition as shown below:
These conditions make the Security Tag to be in Red when Grade is Kindergarten or 1st and it will be disabled to change the option.
Hope this information helps!
Thank you very much. This solved the problem!