Hey all,
I recently got into making dialogs for my application and was wondering how to take text input from a user with a required formatting style. I have seen apps like EventBot do this when you try to make a new event it opens up a dialogue and one line asks you for Date & Time in the specific format MM/DD/YY HH:mm am/pm , and if you don't follow this formatting a little red warning appears below the text box when you try to submit the dialog.
I cant seem to find any documentation as to how to throw this warning when a user doesn't follow your formatting, and haven't seen any attribute for getting a date from the user.
Does anyone know what method to call or what attribute i need to include to make this kind of restriction? ( I am also trying to get a date specification from the user and need it in a format that i will know how to parse)
-Thank you