Time Formatting

How can we force time entries to be 2 digits? Dropbox - Screen Shot 2021-11-02 at 9.39.59 AM.png - Simplify your life

You can use the gform_field_validation filter to create your own custom PHP validation of the values entered. Here’s the filter documentation page: gform_field_validation - Gravity Forms Documentation

Thanks for response. I was hoping for something a bit less technical. LOL Seems pretty standard that a user should be able to enter “1:1” for the time “01:01”.

That’s in fact what will happen by default. Just give it a try.

My bad. I meant to say should NOT be able to. It’s not clear if 1:1 is 01:01 or 01:10.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.