ericberman / MyFlightbookWeb

The website and service for MyFlightbook
49 stars 18 forks source link

Move a bunch of validation stuff into jqueryutils #1294

Closed ericberman closed 3 months ago

ericberman commented 3 months ago

Particularly the errorPlacement, showErrors, hightlight, and unhilight methods, since these are the same everywhere

ericberman commented 3 months ago

Better still: just pass the form, messages and rules objects; let it do the rest!