Can I limit numbers of characters allowed in a field?
Yes, you can do it with this javascript.
1 2 3 4 5 |
<script> jQuery(document).ready(function($) { $('#field_XXX').attr('maxlength', 'YYY'); }); </script> |
Replace «XXX» with the ID of your field. Replace «YYY» with the number of characters you want. Thanks to wplamp.