Calender

Certified Associate Developer

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?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to Mathieu Drouin

    I am using the validations as a reusable component, so created an interface like below.
    Created rule input of type date.


    if(
    and(
    a!isNotNullOrEmpty(ri!fieldName),
    calisworkday(ri!fieldName)
    ),
    "",
    "Please Select a Weekday"
    )

    but the interface is throwing the error. 

    However it's working fine in the main interface where it's being called. I am not sure why I am getting this error. Can you please help me here

Children