web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Leave Request App

(0) ShareShare
ReportReport
Posted on by

Good day all,

I'm currently building a leave request app for my organization. A problem that I have is that employees must be able to request a sick leave before the creation date if necessary. This must however not be an option for the other leave types(vacation, casual etc). Any help will be greatly appreciated. 

 

 

2.png
overview.png
1.png
Categories:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @kt10 ,

     

    I suggest to disable the submit button when a start date is selected which is before the current date unless the selected leave type is sick leave.

     

    You can do so by setting the DisplayMode property of the button to something like the below:

     

    If(
    	Gallery5.Selected.LeaveType.Value <> "Sick Leave" && StartDate.SelectedDate < Today(),
    	DisplayMode.Disabled,
    	DisplayMode.Edit
    )

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard