60
Views
3
Comments
Solved
How to disable weekends in the built-in date picker on the mobile application?
Question
Application Type
Mobile

How to disable weekends (Sat and Sun)  in the built-in date picker on the mobile application?

Sample for result after disable weekends


DemoDisableWeekends.oap
UserImage.jpg
vikas sharma
Champion
Solution

Hi,

You need to use datepicker instead of default date field. In new datepicker also there is no option to disable the weekends but you can achieve that using the javascript.

Please refer this old post : https://www.outsystems.com/forums/discussion/82928/how-to-disable-saturday-and-sunday-in-the-new-date-picker/

regards

2023-06-06 10-26-16
Nattapon Potong

Hi Vikas,

Thank you so much.

I've updated my .oap for success.

DemoMobileDatePicker.oap
2025-02-10 17-24-13
Arun Rajput

Hi @Nattapon Potong ,

You need to use date picker widget to achieve this

I have updated your .oml please check.

Thanks,

Arun

UpdatedDemoDisableWeekends.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.