# Read-only (when rule) not working on fields in section in pega 8.4

**URL:** <https://forums.pega.com/t/read-only-when-rule-not-working-on-fields-in-section-in-pega-8-4/752>\
**Category:** User Experience\
**Tags:** other-industry, 8-4, user-experience, senior-system-architect\
**Created:** [October 27, 2020, 5:01pm UTC](https://forums.pega.com/t/read-only-when-rule-not-working-on-fields-in-section-in-pega-8-4/752 "2020-10-27T17:01:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nidri](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/nidri/32/7654_2.png) [@nidri](https://forums.pega.com/u/nidri)\
**Post date:** [October 27, 2020, 5:01pm UTC](https://forums.pega.com/t/read-only-when-rule-not-working-on-fields-in-section-in-pega-8-4/752/1 "2020-10-27T17:01:53Z")

</div>

1. Create a section with one text field.

2. In the cell properties settings, go to Presentation tab.

3. In the Edit options drop, select Read-only (when rule) option. Make sure this condition returns false always. For testing use “Never” when condition.

4. Provide a when condition in “Condition for read-only” field

5. Save the rule and open the work object with this section in perform mode.

6. Observe that field loads in read only mode instead of editable mode. (Never when condition returns false and should not display field in read only mode)

 ![Pega8_Readonly_When.png](https://pega1.discourse-cdn.com/pega/original/2X/d/d5ceea40b6a094fd64ad17b64234b0b30846a605.png)

---

<div class="post-metadata">

**Author:** ![MarcLasserre\_GCS](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@MarcLasserre\_GCS](https://forums.pega.com/u/MarcLasserre_GCS)\
**Post date:** [October 27, 2020, 6:00pm UTC](https://forums.pega.com/t/read-only-when-rule-not-working-on-fields-in-section-in-pega-8-4/752/2 "2020-10-27T18:00:41Z")

</div>

Hello,

Can you see the WHEN been executed onto the tracer?

---

<div class="post-metadata">

**Author:** ![nidri](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/nidri/32/7654_2.png) [@nidri](https://forums.pega.com/u/nidri)\
**Post date:** [October 28, 2020, 1:48pm UTC](https://forums.pega.com/t/read-only-when-rule-not-working-on-fields-in-section-in-pega-8-4/752/3 "2020-10-28T13:48:19Z")

</div>

Yes, I can see WHEN rule getting executed in tracer.

---

<div class="post-metadata">

**Author:** ![nidri](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/nidri/32/7654_2.png) [@nidri](https://forums.pega.com/u/nidri)\
**Post date:** [October 28, 2020, 7:20pm UTC](https://forums.pega.com/t/read-only-when-rule-not-working-on-fields-in-section-in-pega-8-4/752/4 "2020-10-28T19:20:02Z")

</div>

Setting Defer load to the layout worked.
