cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dmistry
Level 8

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
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
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

dmistry
Level 8

Re: Making Date picker mandatory in the repeating section control

Ahh, eazy pizzy, thans a bunch @RezaDorrani 

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (6,717)