How can I prevent users from modifying a field?

  • Profile Image
    grrguitar98
    Asked 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.

  • Profile Image
    Jim_R
    Answered on February 22, 2017 at 04:36 PM

    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.

  • Profile Image
    grrguitar98
    Answered on February 22, 2017 at 04:57 PM

    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?

  • Profile Image
    Kiran
    Answered on February 22, 2017 at 10:02 PM

    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! 

  • Profile Image
    grrguitar98
    Answered on February 23, 2017 at 04:48 PM

    Thank you very much. This solved the problem!