Ui policy not working for LIst field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 11:01 PM
Hi Everyone I have list filed called Territolscope and I have 5 choices like
for example choice1, choice2, choice3, choice4 and Other
If I select any one of choice1, chooce2,choice3,choice4, need to display exception filed
Select others need to display Others fileld
I written ui policy below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 11:13 PM
Hello @Brahmi Pandla ,
If it's not working using ui policy then you can achieve it using Client Script.
Example -
if (g_form.getValue('field name').indexOf('value_for_which_you_want_to_hide')>-1) {
g_form.setDisplay('field',false);
}
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 11:24 PM - edited 10-19-2023 11:29 PM
In the ui policy screenshot I am not seeing magnifier glass, this is strange as when I am trying same at my end I am seeing magnifier glass, what is this field Territolscope referring to ?
For me ui policy action which I tried is working as expected, so I do not see issue with ui policy working but more on what is this field Territolscope referring to
Best regards
Suyog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 12:34 PM
Hi @Brahmi Pandla ,
And what is your question? Are you facing issues? Can't you make it work? Basic just create two UI Policies: If choice1, chooce2,choice3,choice4, then display exeption field should be visible. Afterwards create another for if others then others field should be visible.
if my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/