Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Custom validation message for input type="Number" when min attribute is set

$
0
0
Thanks Paulo,

I have gone through the videos. I am aware of the server side validation. I also kept the validation property of button to "Client and server". As shown in the video we can achieve the functionality.

As the input type = number is rendered as html5 number type input and if we use the min attribute then the control itself will validate according to our min and max attributes specification on client side.

So as we are using "client and server", I am trying to display an appropriate message to the user on client side validation itself.


But when i specify min attribute to 1 and i enter 0 then on client side validation it is giving "Integer Expected" message.

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>