How to setup a duration field, in minutes-seconds

By: Dimitri Louis | Asked: 07/13/2022
ForumsCategory: How-toHow to setup a duration field, in minutes-seconds
Dimitri Louis asked 2 years ago
Hi, I've recently purchased FF and I've been searching for some questions I have in the documentation and online. but with no luck so faR.   I would like to setup a field where I can give a duration in min:sec for example 09:46 for 9 minutes and 46 seconds. This will be for a track listing form.   Thanks for your help, if already answered can you point to me the location.   Dimitri
2 Answers
Best Answer
Victor Font answered 2 years ago
All you have to do is use a text field with an input mask 99:99. As an alternative, you can use a regular expression as the format. https://www.oreilly.com/library/view/regular-expressions-cookbook/9781449327453/ch04s06.html
Dimitri Louis replied 2 years ago

Oh that was an easy one ! thanks a lot Victor !

Dimitri Louis answered 2 years ago
Thank you very much for your help, really appreciated ! It was an easy one and In simply overlooked the Mask option.   Dimitri

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right