https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10267
--- Comment #18 from M. Tompsett <[email protected]> --- Comment on attachment 62934 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62934 [SIGNED OFF] Bug 10267: Show error message if user tries to enter too many characters for cardnumber Review of attachment 62934: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10267&attachment=62934) ----------------------------------------------------------------- ::: koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ +621,4 @@ > [% END %] > [% IF minlength_cardnumber == maxlength_cardnumber %] > <input type="text" id="cardnumber" name="cardnumber" > size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber > %]" maxlength="[% maxlength_cardnumber %]" /> > + [% IF mandatorycardnumber and not autoMemberNum %]<span > class="required">Required</span>[% END %]<span id="cn_max" > class="required">Card number must not be more than [% maxlength_cardnumber %] > characters.</span> It is impossible to enter more than maxlength_cardnumber characters because the maxlength attribute of the input line makes it impossible. I believe bug 13178, providing flexibility of the max size based on the schema which should be regenerated as needed to match the table's field size, makes this bug obsolete. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
