Is there a way to manually display the mandatory field message?

In order to keep things consistent acrross my application for the user it would help me a lot if I could manually display the mandatory field message,


Thanks!

Phil

Solution

Hi Felipe,

Input widgets have a Valid property that you can manipulate yourself.  So you set the Valid property to False and then change the ValidationMessage property to whatever message you want to display.  Don't know if you're on web or mobile, but on web you have to then refresh the widget and I think you need an Ajax submit on the button instead of Submit if you are calling the action that does the validation via a button.

Solution