Start a new topic
Answered

Show/hide an attribute in a form

How to configure an attribute to be visible in a form?


Best Answer

You can mask a field by using the Visible property of the form field. You can use SemQL in that property to make the field visible or not depending on its own value. Note that the Visible property can be used to mask fields, sections, etc depending on other fields' values.

For more details you can refer to the doc. 


Answer

You can mask a field by using the Visible property of the form field. You can use SemQL in that property to make the field visible or not depending on its own value. Note that the Visible property can be used to mask fields, sections, etc depending on other fields' values.

For more details you can refer to the doc. 

Hi Cedric,

I am looking for a sample semql syntax to make an attribute visible in the form if there is some value for that attribute. I clicked on the doc link above but unfortunately it is taking me to the support home page.


Regards,

Kousik

Hi Kousik,

The correct link to the doc is https://www.semarchy.com/doc/semarchy-xdm/xdm/latest/Design/applications/ui-components.html#_common_properties

By defining a SemQL condition that checks if the attribute has a non-empty value, you should be able to show/hide the field.


Login to post a comment