summaryrefslogtreecommitdiff
path: root/includes/metadata.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/metadata.inc')
-rw-r--r--includes/metadata.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/metadata.inc b/includes/metadata.inc
index d903010..485666a 100644
--- a/includes/metadata.inc
+++ b/includes/metadata.inc
@@ -131,7 +131,7 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member
</p>
<p>
<b>Age (for ponies with fixed age)</b><br>
- <input name="age" class="form-control" style="filter: invert(1) hue-rotate(180deg);" type="number" value="<?= $metadata["birth"]["age"] ?? "" ?>">
+ <input name="age" class="form-control" style="filter: invert(1) hue-rotate(180deg);" type="text" pattern="^\d{1,2}(-\d{1,2}|)$" value="<?= $metadata["birth"]["age"] ?? "" ?>">
</p>
<?php endif; ?>