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 / Reset date control in ...
Power Apps
Answered

Reset date control in form on button select

(0) ShareShare
ReportReport
Posted on by 76

I have a Power Apps form.  When I click the submit button (outside the form), I need to reset a date control that is within the form.  How can I do this?

Categories:
I have the same question (0)
  • Verified answer
    anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hey @StaceyGriffeth ,

    put this formula in button onSelect:

    Set(isReset,!isReset)

    put this in Reset property of the date control:

    isReset

     

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • StaceyGriffeth Profile Picture
    76 on at

    @anandm08 thanks so much for your reply!  If I understand correctly, this will reset the control to it's default value, correct?  How do I ensure that if the field already contains a value, it does not reset to the default?

  • StaceyGriffeth Profile Picture
    76 on at

    @anandm08 never mind, I figured it out!  Thanks for your help!

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at
    If(
     !IsBlank(controlName),
     Set(
     isReset,
     !isReset
     )
    )

    try this formula it will only set the reset true if your control is blank or emplt just change the name of control inside isBlank with .Value

     

     

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard