osxhacker / demo-microsite

An exploration of microsite/microservice concepts.
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Explore using Parsley for form field validations #4

Closed osxhacker closed 1 year ago

osxhacker commented 1 year ago

Parsley is a JavaScript form validation library. From the site documentation:

Parsley uses a specific DOM API which allows you to configure pretty much everything directly from your DOM, without writing a single javascript configuration line or custom function.

This is similar to existing use of htmx. If Parsley can coexist with htmx, then the benefit of declaratively adding extended field validations warrants its introduction.

Assuming this is the case, values from the relevant RAML API definitions must be used.

osxhacker commented 1 year ago

This enhancement has been completed and merged into master.