Notifications
Announcements
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.
@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."
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268