I can see the value in a quick fix via JS, however I'll note that similar validation is performed without JS via the server-side form processing. See Account::load_myopac_update_email, load_myopac_update_username, and load_myopac_update_password. The loose guidelines for the TPAC and JS thus far have been to use JS only when there is no other way to accomplish the goal (and only for secondary features). Any chance this could be done with Perl/template changes instead for consistency?
I can see the value in a quick fix via JS, however I'll note that similar validation is performed without JS via the server-side form processing. See Account: :load_myopac_ update_ email, load_myopac_ update_ username, and load_myopac_ update_ password. The loose guidelines for the TPAC and JS thus far have been to use JS only when there is no other way to accomplish the goal (and only for secondary features). Any chance this could be done with Perl/template changes instead for consistency?