Valid time formats

Valid time formats


I have a time on a form and want the users to be able to enter 9 if the time is exactly 9:00, say.

What is the easiest way of achieving this.

Thanks, Alan
Hi Alan,

Welcome to the OutSystems community!

9 is not a valid time format. I think the only way would be to have either a mask on the input that does this for you or your own javascript to fill in the rest of the value. There are a couple of mask input components in the forge, I'm not sure they do this but you should check them to see if they do what you want.