Generate numbers, then submit the form.

Edit in JS Bin