How do I make the field Conditional ReadOnly in a form?

You may want some of the fields in your form to be readonly based on conditions. In such a case you can specify conditions and make those fields uneditable.

Follow the below steps to configure the field as conditional readonly in the control center:

  1. Click on the Admin -> Control Center from the left menu.
  2. Select the workflow and click on the edit icon.
  3. Click on the Workflow Stages and select the process stage.
  4. Click on the Form Designer icon then select the field and click on the pencil icon to edit the field.
  5. In Validation Settings, select Conditional Readonly from the dropdown in ReadOnly.

For Example, Discount Type has two field values such as percent, amount.

If the Discount Type is Amount then Percent value is not required and it can be readonly. The following screenshot illustrates the conditions specified in the Discount Amount field.

conditional read only

discount amount

If the Discount Type is Percent then Amount value is not required and it can be read only. The following screenshot illustrates conditions specified in Discount Percent field.

con readonly

discount percent

 

Leave a Reply

Your email address will not be published. Required fields are marked *