]> git.cworth.org Git - zombocom-ai/commit
Validate numeric code before form is submitted
authorCarl Worth <cworth@cworth.org>
Thu, 8 Dec 2022 16:45:43 +0000 (08:45 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 8 Dec 2022 16:51:28 +0000 (08:51 -0800)
commit8e3fad5921ebab4830a713e012afdb83d557829b
tree25704654cdae34fff0deed71fb5b0729617aab4c
parent56ab5e6ac0392a9f4d366c98e2645dc90e232ffa
Validate numeric code before form is submitted

The image generation script will reject any non-numeric seed as well
as any value larger than 2**32-1. So enforcing this up front at the
form will give the user a better experience.
index.html