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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 505
WarrenBelz 502 Most Valuable Professional
Haque 324