Announcements
I have a slide with a text input, drop down and button. text input is for a year input.What I would like is to have a default text as "Year" in the textinput and that text clear on select and only allow user to enter number. So when the button is selected if anything besides numbers is there it errors.Is that possible to have "Year" in text input with format number and clear it on select?Thanks
The work around would be to insert a Label besides the Textbox that contains the Number (Year).
That Label will rather hold the "Year" text.
Or
In the HintText Property of the TextBox type "Year"
------------If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @CrashWave ,
Based on the needs that you mentioned, I think the HintText property of the Text Input Box could achieve your needs. I have made a test on my side, please consider take a try with the following workaround:
Set the HintText property of the Text Input Box to following:
"Year"
If you want to force user entering number value within the Text Input, I think the Format property of the Text Input Box could achieve your needs, please set the Format property of this Text Input Box to following:
TextFormat.Number
Please check the following GIF screenshot for more details:
Best regards,
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 377 Most Valuable Professional
11manish 165 Super User 2026 Season 2
MS.Ragavendar 110 Super User 2026 Season 2