]> git.cworth.org Git - zombocom-ai/commitdiff
Restrict code input field to 10 characters
authorCarl Worth <cworth@cworth.org>
Wed, 7 Dec 2022 01:50:19 +0000 (17:50 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 7 Dec 2022 01:50:19 +0000 (17:50 -0800)
It really shouldn't need to be longer than that.

index.html

index b93538092614407786527afa2770c91545fe3e16..d457549b45f3816d73e2af1855fc8017976c5387 100644 (file)
@@ -42,7 +42,7 @@
           <label for="code">
             Numeric code
           </label>
-          <input id="code" autocomplete="off" placeholder="(Chosen randomly)" />
+          <input id="code" type="text" size="10" autocomplete="off" placeholder="(Chosen randomly)" />
         </div>
 
         <div class="form-row small right">