How to configure an attribute to be visible in a form?
Best Answer
C
Cédric BLANC
said
over 4 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
over 1 year 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
over 1 year 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
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics