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 Platform Community / Forums / Power Apps / FormMode dependant on ...
Power Apps
Unanswered

FormMode dependant on calendar component entry from Lists

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I have a Form that I need to change mode dependant on whether there is an entry for the date selected in the component. Edit if there is already data showing or New if it is a blank date with no data.

 

I currently have a gallery that filter the Lists entries in accordance with the current user and the date of the entry:

Filter(Overtime,'Created By'.Email=User().Email&&Date = Text(Calendar_3.StartDate,DateTimeFormat.ShortDate))

 

However, when I try and use the above formula to determine the FormMode it doesn't like it. Any ideas?

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :
    I've made a test but it worked well:

    vbofengmsft_0-1645759370817.png

    Could you please show me the form's DefaultMode and item property?

    Best Regards,

    Bof

     

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard