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 / power apps: problem wi...
Power Apps
Answered

power apps: problem with 2 buttons: button1 put user details in a input textfield and with button 2 possible reset again the input textfield

(0) ShareShare
ReportReport
Posted on by 93

Hello everybody, i am workin on a learning project for power apps / canvas app and i have small issue, somebody can help me with a small problem?

I want to do something with 2 buttons: button1 put user details (CurrentUser1.FullName) in a input textfield and with button 2 its possible reset again the same input textfield ( make it back emty ) / i search already two days the internet to fix this but dont find it.

Sombody can help me please

 

Thanks Gino 

Categories:
I have the same question (0)
  • Verified answer
    SpongYe Profile Picture
    5,905 Super User 2026 Season 1 on at

    Hi @ginobelgium 

     

    Make use of the UpdateContext() or Set() functions also called variables.

     

    Button1.OnSelect:

    UpdateContext({CurrentUser:User().FullName});

    Button2.OnSelect:

     

    UpdateContext({CurrentUser:Blank()});

    TextInput1.Default:

     

    CurrentUser

     


    ------------------------------------------------------------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

     

     

     

  • Verified answer
    CU22100730-0 Profile Picture
    93 on at

    Thank you verry much Spong Ye for the help, 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard