79344666

Date: 2025-01-10 05:16:15
Score: 1
Natty:
Report link

I think on htmx it's through hx-validate="true"

i.e.

<form hx-post="/assessment-result.php" hx-validate="true">
    <input type="text" required pattern="[a-zA-Z]+" />
    <button type="submit">Submit</button>
</form>

you can check these repos the way they implement validation as well.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tim