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 / Delete text inside a T...
Power Apps
Unanswered

Delete text inside a Textbox

(0) ShareShare
ReportReport
Posted on by 390

I have a text box which has a number inside by default (in this case "20"), but I don't want the user to erease that number, just only want it to continue writting.

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,989 Moderator on at

    @JoseC12 

    Its not possible to prevent the user from editing part of the text in a text box.

     

    My workaround would be to place a label beside the text box with the number 20 and make it look like its part of the control.  Then you could get the year like this.

     

    Label1.Text&TextInput1.Text

     

    e.g. two text strings "20" & "19" joined is "2019"

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • eka24 Profile Picture
    20,923 on at
    Put this formula on the Onselect of a button:
    Reset(Textbox)

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard