Skip to content

Conversation

@pixeldesu
Copy link
Member

We simply check for HTML validations to pass before finally trying to submit in the submit handler in powermail_cond.

This just triggers reportValidity() on the Powermail form, so if no validations are present in HTML5, everything should work fine as well.

Testing:

Fixes #111

@pixeldesu pixeldesu changed the title [BUGFIX] Don't submit in race-condition check if validations fail Don't submit in race-condition check if validations fail Oct 29, 2025
@mschwemer mschwemer merged commit 93c4452 into master Nov 6, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validation errors get ignored and form will be submitted anyway

3 participants