Mod Archive Forums
Website => Help & Support => Help Support Topics Archive => Topic started by: Arcturus on April 20, 2021, 22:26:35
-
I'm in the process of adding artist comments to my songs, but occasionally my comments are too long. When this happens, the error page just gives me the error that my comment was too long, but doesn't tell me what the maximum allowed characters are.
Can I request that the maximum characters allowed be displayed both in the texbox in artist.php?request=view_module&query={id} and in the error page? This way I won't have to guess at how many characters I have to remove for it to be allowed.
I'm assuming there are similar character limits for profiles, comments and reviews, so it probably wouldn't hurt if those are also displayed.
-
I'll look into this.
-
You could also simply add a max character limit on the input form element.
-
That would be the first thing to do, yeah. :) I probably won't have time for this before the weekend, though.
-
Maximum lengths are now enforced on edit fields and there's a note on the artist page how long the comments should be (it's just an approximation because the limit imposed by the browser might not be exactly the same as what the server checks against after converting the comment to internal storage, but it should be good enough).
-
Thank you!