this post was submitted on 27 Jan 2024
7 points (100.0% liked)
JavaScript
2162 readers
1 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Try
form.reportValidity()
where form is the form element.