- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-20-2024 11:53 AM
Hello Community,
I am working on a catalog item where I have multiple Yes/No fields (e.g., Option A, Option B, and Option C). Depending on the user's selection:
- If Option A is "Yes," a shared field (let's call it Field1) should be displayed below it.
- If Option B is "Yes," the same Field1 should be displayed below it.
- Similarly, if Option C is "Yes," the Field1 should be displayed below it.
The issue I am facing is that the Field1 does not display correctly when multiple options are "Yes." For instance, it appears under only one of the options. I need it to display under each variable if they select 'Yes'
I am using UI Policies to dynamically show/hide fields. I want to know the best way to configure this so that the Field1 appears under all relevant options when selected, without duplicating the field in the catalog item form.
Has anyone encountered a similar issue? Any insights or best practices would be greatly appreciated.
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-21-2024 09:40 AM
Hello @NiharikaC
- It is not possible to show the same field, multiple times at form.
The workaround that can be done is:
- Creating individual field for each option
- Create separate Ui policy for each option to show/hide the fields.
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps others find the solution more easily and supports the community!"
Thank You
Juhi Poddar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-22-2024 12:16 AM
Hi @NiharikaC ,
ServiceNow forms are designed to display each variable in a unique position. Attempting to display Field1 under multiple options simultaneously isnāt feasible without duplicating the variable, which can lead to data consistency issues and negatively impact the user experience, as the same field would appear in multiple places.
If my response helped, please mark it as the accepted solution ā
and give a thumbs upš.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-21-2024 09:25 AM
Hi @NiharikaC
We cannot display the same field in different positions, right.
Thanks and Regards
Sai Venkatesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-21-2024 09:40 AM
Hello @NiharikaC
- It is not possible to show the same field, multiple times at form.
The workaround that can be done is:
- Creating individual field for each option
- Create separate Ui policy for each option to show/hide the fields.
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps others find the solution more easily and supports the community!"
Thank You
Juhi Poddar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-22-2024 12:16 AM
Hi @NiharikaC ,
ServiceNow forms are designed to display each variable in a unique position. Attempting to display Field1 under multiple options simultaneously isnāt feasible without duplicating the variable, which can lead to data consistency issues and negatively impact the user experience, as the same field would appear in multiple places.
If my response helped, please mark it as the accepted solution ā
and give a thumbs upš.
Thanks,
Anand