u3a-siteworks-development / u3a-siteworks-core

The core plugins
GNU General Public License v2.0
1 stars 0 forks source link

OP1041 - validation on start/end times for groups and events #78

Closed nicktrosnant closed 3 months ago

nicktrosnant commented 3 months ago

It is possible to enter end times earlier than start times (and vice versa). Further validation needed on these time fields.

mike99christie commented 3 months ago

I'm inclined to say "caveat emptor"! It is harder to do cross field validation before the data is sent to the server, by which time it is too late, and no page on which to report the problem! Cross field validation on the client side would require some complex bespoke Javascript to be created and downloaded. I think I know how to do this but is it really worth it? e.g. for download: add_action('rwmb_enqueue_scripts',function()....)

nicktrosnant commented 3 months ago

Agreed "will not fix".