How to show showFieldMessage on onLoad client script/UI Policy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 04:51 AM
Hi,
I am trying to add the showFieldMessage on this "Reporting issues upward" (choice type field) using the onLoad client script. Then reloading the form, the showFieldMessage appears correctly. But when I change the choice, the showFieldMessage disappears.
I am looking for a possible solution to show the showFieldMessage even after the choice is changed using the onLoad client script.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 05:00 AM
Try this
Please mark helpful if it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 05:03 AM
Is your client script on change? If yes then you need to write your field message in both onLoad (isLoading) part and on change part of client script.
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 12:16 AM
@Lalit Kumar Pls mark the appropriate answer correct to close the thread, if this is fixed.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 05:04 AM
Hi @Lalit Kumar ,
Hi Alex,
The field message on a field only appears on a form load and disappears when the value in that field changes. It is an expected behavior.
What you can do instead is simply create the Hint definitions on the field labels so that when a user hovers over the field label, he gets the info message. It's a workaround that I would suggest.
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Mayur Shardul