Validating user input in decimal field
In a form, I have added a decimal field to capture "duration" in this format - 00.00 (hh.min). Once user inputs the value, I would like to validate the field to check that the input is in exact format as requested. Can anyone help me with an answer on how to achieve this.