How to show showFieldMessage on onLoad client script/UI Policy?

Lalit Kumar
Tera Contributor

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.

LalitKumar_0-1697456822322.png

 

Thanks

 
5 REPLIES 5

Sumit Singh
Tera Expert

Try this

SumitSingh_0-1697457603615.png

Please mark helpful if it works.

RaghavSh
Kilo Patron

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

@Lalit Kumar Pls mark the appropriate answer correct to close the thread, if this is fixed.


Raghav
MVP 2023

Mayur2109
Kilo Sage
Kilo Sage

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