-1

I am wondering if there is any OOB way to make a two-option field read-only if a form loaded the two-option field as "true".

I know I can use Javascript and the OnLoad event on the form to accomplish this, but I want to try and use as many OOB features as possible.

Darren Hoehna
  • 269
  • 2
  • 8
  • 19

1 Answers1

1

There are two distinct scenarios:

  1. The field should be read-only only if the field is Yes on form load.
  2. The field should be read-only as soon as the value of the field is changed to Yes.

In case 1 you will have to use custom javascript.

In case 2 you can use Business Rules as Guido also mentions in the comments. In this case you would create a business rule with a condition checking whether the value of your field equals Yes. If so, you would lock the field (resulting in it being read-only).

Community
  • 1
  • 1
Henrik H
  • 5,747
  • 1
  • 21
  • 33