Adds a built in passcode resolver for form.submit