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 / Resetting - Text input
Power Apps
Answered

Resetting - Text input

(0) ShareShare
ReportReport
Posted on by 8

I am using a "Edit Form" to request users to filled up the text input.

I have a button named Add, that uses the collect function to add all text input into a sharepoint (excel) file.

In the current scenario, after the user have key in all the text input and press the add button, the following happens:

1) The text inputs are all collected and added into the SharePoint (excel).

2) The text inputs field are still filled.

 

Question : is there any way for the text input fields to be resetted or cleared after pressing the add button?

I understand that i can use another button to do the reset, however, i was wondering if the clearing of the fills can be done with the same add button?

Meaning to say, once the user press the add button, the fields are collected into the sharepoint file and the text input fields are cleared ready for the next input.

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @Alfle15 , You can use the Reset(ControlName). In your case you can rest the textInput control.

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

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

    Thanks,
    ANB


  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @Alfle15 , You can use the Reset(ControlName). In your case you can rest the textInput control.

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

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

    Thanks,
    ANB


  • Verified answer
    christian12 Profile Picture
    204 on at

    Set the reset property on all your text inputs to a variable. Example: Clear_Inputs

     

    On your button at the end of the onselect property add in the following code:

    Set(Clear_Inputs, false);
    Set(Clear_Inputs, true)

     

    This will reset all your input text boxes

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @Alfle15

     

    Because you said it was an Edit form, you can just use the formula:

    NewForm(Form Name);

    as the last formula in the OnSelect property of your button.

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • Alfle15 Profile Picture
    8 on at

    Sweet! that works! thanks!

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 644

#3
11manish Profile Picture

11manish 626

Last 30 days Overall leaderboard