Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-06/621b5eac-d15b-4d43-bbcf-2cb046d70ec4.jpg?h=d0e75635&itok=aMJ_JWId)
Evonsys
US
Last activity: 11 Mar 2018 15:42 EDT
How to identify the section at which a control is placed at runtime?
Hi,
I have a control, say a button that i need to conditionally hide based on the section it is placed in. How can i chieve this?
Basically i have the same section in both editable and readonly in the same screen. I need to hide off the buttons of the readonly section. I achieved this from using pxIsEditable when condition. However there are buttons that are configured to be visible in readonly mode of that section. So now i need to find a way to hide off those buttons based on the section that have been placed in since i can not use pxIsEditable condition anyomore. Can not do save as for all sections.
Can anyone please help me with this?
Thanks.