cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Making Date picker mandatory in the repeating section control

Hi,

 

I have built up a powerapp that has about 3 screens. On the second screen, I have a repeating section control added, see screenshot below.

Capture.PNG

I would like to Make the Save button disabled till user popualtes Date picker field. What would be the best way to achive this? Basially I have a requirement to make Date picker field mandatory for each item so users should not be allowed to hit on Save icon until they populate it. Please help, thanks in advance. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: Making Date picker mandatory in the repeating section control

Hi @dmistry 

 

for the save button/icon

 

set the display mode property to

 

If(IsBlank(DatePicker.SelectedDate),Disabled,Edit)

 

where DatePicker = name of your control

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User
Dual Super User

Re: Making Date picker mandatory in the repeating section control

Hi @dmistry 

 

for the save button/icon

 

set the display mode property to

 

If(IsBlank(DatePicker.SelectedDate),Disabled,Edit)

 

where DatePicker = name of your control

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Highlighted
Post Prodigy
Post Prodigy

Re: Making Date picker mandatory in the repeating section control

Ahh, eazy pizzy, thans a bunch @RezaDorrani 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,636)