Hello, I am wondering If there is a way to show or hide certain fields based on an attribute? For example, If I were to create an object at the beginning it will be in an open state and I would like to hide some fields then but afterwards when I go to modify that object I want to show few more fields. Is there a way to do it?
I am wondering what PHP method can I call to hide or show some fields?
is a way to show or hide certain fields based on an attribute?
Also one would expect it to work using GetAttributeFlags() and field XML tag "dependencies", tests show that it does not work very well in the console.
What works well, is making a field read-only or mandatory based on another attribute value, but hiding it, does not work.
On the other hand with maybe some hacks, this extension propose dynamic fields which can be shown/hidden based on another field value in console and portals...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I am wondering If there is a way to show or hide certain fields based on an attribute? For example, If I were to create an object at the beginning it will be in an open state and I would like to hide some fields then but afterwards when I go to modify that object I want to show few more fields. Is there a way to do it?
I am wondering what PHP method can I call to hide or show some fields?
Kind Regards,
Abdullah
Also one would expect it to work using GetAttributeFlags() and field XML tag "dependencies", tests show that it does not work very well in the console.
What works well, is making a field read-only or mandatory based on another attribute value, but hiding it, does not work.
On the other hand with maybe some hacks, this extension propose dynamic fields which can be shown/hidden based on another field value in console and portals...