cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Zgolbarg
Helper III
Helper III

Set specific date limitation for date picker

Hi,

 

I have to date picker in my app: due date and market live date

 

what I want to do is that to set the date of market live date before the due date which means user can not pick up any date after due date for market live and pop up a message for the user.

 

can you help me with that?

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Set the market live date default to something in the past.  Then set the displayMode of the due date picker to be disabled if the market live date selected date is equal to that default.  That way they won't be able to set a due date until after they pick a market live date that is current or in the future.

 

Then add a label with the error message and set the visible property on that to due date is less than market live date.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Pstork1
Dual Super User III
Dual Super User III

Set the market live date default to something in the past.  Then set the displayMode of the due date picker to be disabled if the market live date selected date is equal to that default.  That way they won't be able to set a due date until after they pick a market live date that is current or in the future.

 

Then add a label with the error message and set the visible property on that to due date is less than market live date.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (4,376)