30
Views
7
Comments
Validation
Application Type
Traditional Web

How to set validation for Timepicker. Its taking 00:00 as input. 

time.png

Rank: #286

HI Suriyakala,

Which component you are using for this? Could you please further elaborate your question?

Thanks

Rank: #44338

Hi Abdul,

Thank u for you reply.

Rank: #13056

Do you want to force a user to provide some valid input? rather you get 00:00 as input.

Rank: #44338

yes mubashar, if i give start empty true means, its taking null value only even i select valid time.

Hi Suriyakala,

You can set the minimum and maximum time limits in the advanced format and also can disable and set the start as empty value.

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Traditional_Web_Patterns/Controls/Time_Picker?_gl=1*1q9xkwe*_ga*NTE5MzgyNTEzLjE1NTA0OTI5MDA.*_ga_ZD4DTMHWR2*MTYwNzQ5MjAyMC40Ni4xLjE2MDc0OTI5NzIuMzE

While proceeding forward you can add the check to validate the time if it is greater than 00:00 and then proceed to next step other wise update the value.


Thanks,

Unnati

Hi Suriyakala S,

00:00 is a valid time and by default this control shows this time, if you want to restrict to user when this time selected then you can put server side validation.


Regards

Shashikant Shukla