Hi,
I'd like to add a custom mask to an input field the following way:
1) Input shall be restricted to minutes and seconds: mm:ss
2) Max 19:59 shall be allowed. In regex: [01][0-9]:[0-9][0-9]
3) Incomplete entries shall be flagged with: required field
4) Placeholde shall be: mm:ss
5) By no means, any placeholder values shall be ending up in the database
I understand that I can add s.th. like this to Extra Param::
data-inputmask='mask' : 's:s', 'placeholder':'mm:ss'
However, I can't get to work:
1) regex to restric
2) flag of incomplete
3) prevent m or s to end up in the db
Help is grealy appreciated.
Thanks
I'd like to add a custom mask to an input field the following way:
1) Input shall be restricted to minutes and seconds: mm:ss
2) Max 19:59 shall be allowed. In regex: [01][0-9]:[0-9][0-9]
3) Incomplete entries shall be flagged with: required field
4) Placeholde shall be: mm:ss
5) By no means, any placeholder values shall be ending up in the database
I understand that I can add s.th. like this to Extra Param::
data-inputmask='mask' : 's:s', 'placeholder':'mm:ss'
However, I can't get to work:
1) regex to restric
2) flag of incomplete
3) prevent m or s to end up in the db
Help is grealy appreciated.
Thanks