- Home /
Question by
danweaver12 · Mar 06, 2020 at 09:17 PM ·
inputfielddatetimevalidation
How to make a masked input field for datetime?
Is there anything in Unity like a masked textbox in winforms (https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.maskedtextbox?view=netframework-4.8)?
I have two Input Fields for the user to enter a date in the format mm/dd/yyyy. I would love to have placeholders and the front slashes to always be there. Is there a way to do this without writing a bunch of code to check every time the user enters something?
Comment
Your answer
Follow this Question
Related Questions
How to use onValidateInput in JavaScript? 1 Answer
iOS crash while selecting text within an InputFied 1 Answer
Why does my TMP inputfield text disappears when I rotate It, why using a world space camera 0 Answers
How to get an input and put it into a scriptable object? 1 Answer
C# DateTime inspector 2 Answers