In the PrintUI Frame Options panel there is a text validation option for dates, email addresses, URLs, and phone numbers. That will work for the user to enter text in a specific format.
However, it only works on an entire text frame. So, for example, a phone number. The only text in the frame can be the phone number.