How to configure an attribute to be visible in a form?
Best Answer
C
Cédric BLANC
said
over 2 years ago
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.
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.
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.
By defining a SemQL condition that checks if the attribute has a non-empty value, you should be able to show/hide the field.
M
Michael BARTLEY
said
27 days ago
Hi there, could I please get some more details regarding the semql? I would like to make a form field visible by checking to see if another form field is visible as opposed to whether an attribute has a non-empty value. Is that possible?
M
Michael BARTLEY
said
15 days ago
Hi there,
if I want to conditionally set a form element (attribute, section, tab) visibility based on the value in another field (not null/not null, but a specific value selected), what is the proper SemQL for that?
Cédric BLANC
How to configure an attribute to be visible in a form?
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.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCédric BLANC
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.
Kousik DAS
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
Cédric BLANC
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.
Michael BARTLEY
Hi there, could I please get some more details regarding the semql? I would like to make a form field visible by checking to see if another form field is visible as opposed to whether an attribute has a non-empty value. Is that possible?
Michael BARTLEY
Hi there,
if I want to conditionally set a form element (attribute, section, tab) visibility based on the value in another field (not null/not null, but a specific value selected), what is the proper SemQL for that?
I've tried to use something like
CASE
WHEN <another form field value> = 38
THEN 1 (or True/Visible)
ELSE
0 (or false/not visible)
END
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 287 topics