# I have a question on text field

**URL:** <https://forums.pega.com/t/i-have-a-question-on-text-field/3206>\
**Category:** User Experience\
**Tags:** user-experience, pega-platform\
**Created:** [September 8, 2022, 7:08am UTC](https://forums.pega.com/t/i-have-a-question-on-text-field/3206 "2022-09-08T07:08:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirti](https://avatars.discourse-cdn.com/v4/letter/k/ecccb3/32.png) [@kirti](https://forums.pega.com/u/kirti)\
**Post date:** [September 8, 2022, 7:08am UTC](https://forums.pega.com/t/i-have-a-question-on-text-field/3206/1 "2022-09-08T07:08:07Z")

</div>

Hi Guys ,

Actually In dynamic layout we have 7 property all are text field , as per new requriment one property value greater than 0 that time all field are avilable to editable otherwise it’s not editable .

this is performing on clicking a edit button .

How we can do that ,please help me

Thank you .

---

<div class="post-metadata">

**Author:** ![PrakashDeep](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/prakashdeep/32/12790_2.png) [@PrakashDeep](https://forums.pega.com/u/PrakashDeep)\
**Post date:** [September 8, 2022, 7:22am UTC](https://forums.pega.com/t/i-have-a-question-on-text-field/3206/2 "2022-09-08T07:22:00Z")

</div>

@keerthiy

On fields you can add a disable/Read only condition for a property flag, let’s say “IsEditable” and you can set this flag on the click of your edit button. You can add a DT in click of edit button , where you can check if the value of the required property is greater than 0 or not,

If it is greater than 0, set the value to true

If not, set the value to false
