Form time input format

How do I specify an input mask for a form input field? I want to specify time input in the format 11:00 AM. I don’t want a calendar; I only want the time data.

Forem does not support such formatting. Only calendar for now.