cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mrunal
Advocate I
Advocate I

Enabled/Disabled/Visible textbox/dateField

I am tring to enabled/disabled dateField depending on dropdown list value but it is now working. Suggest some help

1 ACCEPTED SOLUTION

Accepted Solutions
Steelman70
Power Participant
Power Participant

4 REPLIES 4
Steelman70
Power Participant
Power Participant

Here you go...

Capture_DD.PNG

Thanks. But if I want update datefield to todays date as  if Dropdown1.Selected.Value="1" else current selected date

Steelman70
Power Participant
Power Participant

 

 

I think you need an input box instead of a text box for your date in that case, and you reset to default (=Today()) if 1 is selected in the dropdown.

Please let me know if this is not clear or does not work and I will try when I have time.

I liked the solution but in general it would be better if we are able to use the enumeration names instead of the display texts.

 

Kind regards,

MehrdadG

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,802)