Added input validation to help with cutoff date usage

This commit is contained in:
Kieran Eglin 2024-03-12 15:07:58 -07:00
parent 513212faf2
commit ad20965309
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -62,6 +62,9 @@
type="text"
label="Download Cutoff Date"
placeholder="YYYY-MM-DD"
maxlength="10"
pattern="((?:19|20)[0-9][0-9])-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])"
title="YYYY-MM-DD"
help="Only download media uploaded after this date. Leave blank to download all media. Must be in YYYY-MM-DD format"
/>