web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Resetting - Text input
Power Apps
Unanswered

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,223 Super User 2025 Season 2 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,223 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard