Make sure that affiliation is not just cut off
Change-Id: I19822fdf59eaa501ff7416b964a00b433d1f71d2
diff --git a/templates/register.htm b/templates/register.htm
index 1cff2fd..ca8eeca 100644
--- a/templates/register.htm
+++ b/templates/register.htm
@@ -73,7 +73,7 @@
<div class="form-outline md-6">
<label class="form-label fw-bold" for="organization">Affiliation</label>
- <input required name="organization" maxlength="32" type="text" id="organization" class="form-control fs-4 <?php if(isset($error) && $error && !isset($_POST['organization'])){echo 'border-danger';}?>" placeholder="Example University" pattern=".{3,32}"
+ <input required name="organization" maxlength="33" type="text" id="organization" class="form-control fs-4 <?php if(isset($error) && $error && !isset($_POST['organization'])){echo 'border-danger';}?>" placeholder="Example University" pattern=".{3,32}"
type="text" value="<?php echo isset($_POST['organization']) ? htmlspecialchars($_POST['organization']) : '' ?>" />
<div class="invalid-feedback">
Please indicate the institution or organization you are affiliated with.