Skip to main content
hema.mathivathanan
Employee
June 27, 2023
Solved

Calender

  • June 27, 2023
  • 9 replies
  • 3 views

Hi, 

In the date field, for the calender I want to make the weekends as disbaled (non selectable) whereas the week days should be selectable. is it possible to do this in a!datefield?

    Best answer by harshitb6843

    Nope. It is not possible. But a good work around will be to show instructions below the field and add a validation. 

    9 replies

    harshitb6843
    Brainy
    June 27, 2023

    Nope. It is not possible. But a good work around will be to show instructions below the field and add a validation. 

    hema.mathivathanan
    Employee
    June 27, 2023

    To validate should we use calisworkday function?

    mathieud0001
    Brainy
    June 27, 2023

    Yes you can.

    Just know that calisworkday does not include week days marked as holidays.

    Otherwise, another easy way to do this is to use the text() function and check for MON/TUE/WED/THU/FRI.