rexsum · generator

Make a field that checks its own check digit

Pick a scheme, or enter the weights of your own, and copy the <input>. The element needs no script: its pattern attribute does the arithmetic. This page runs a script only to build it, in your browser.

Your element

Loading the patterns…

Try it