1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Limit thread title entry to 100 characters

Discussion in 'Resolved Bug Reports' started by Brogan, Aug 3, 2010.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    If you create a thread title longer than 100 characters you get an error.

    Is there any way of limiting the number of characters that can be entered to stop the error in the first place?
  2. Disjunto

    Disjunto Well-Known Member

    or catch the long title before you submit the form so nothing is lost
  3. jmurrayhead

    jmurrayhead Well-Known Member

    This would be better off posted in the bug report forum.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It's not a bug as it is expected behaviour.
    It's just not very user friendly behaviour.

    Far better to stop the error occurring in the first place by limiting the characters that can be entered.
  5. jmurrayhead

    jmurrayhead Well-Known Member

    That's the bug...the fact that it is not limiting the characters.
  6. Peggy

    Peggy Well-Known Member

    Moved to Bug reports
  7. Brogan

    Brogan XenForo Moderator Staff Member

  8. Grover

    Grover Well-Known Member

    A picture says it all...

    pretty long thread title.....png

    So, I mean when you just put in a regular title with more then 100 characters and press [Create Thread], XenForo present this error message in a new screen:

    XenForo Community - Error
    Please enter a value using 100 characters or fewer.

    You then have to use the Back-button of your browser to go back to the input screen. I mean, not a real 'bug' maybe, but not userfriendly from an UI point of view.

    Can't this limit be incorporated into the Title-field when you type in your text? So that one can simply not type any further when the 100 is reached? Or if that not possible, just display an inline text saying that 100 is the max the moment we reach the 100 (no permanent text please). Saves us from a bit of hassle.
  9. Enigma

    Enigma Well-Known Member

    Yeah, it wouldn't hurt to add a maxlength attribute to that input.
  10. Brogan

    Brogan XenForo Moderator Staff Member

  11. Grover

    Grover Well-Known Member

    Oops, didn't see it! Merge time...
  12. Kier

    Kier XenForo Developer Staff Member

  13. Kier

    Kier XenForo Developer Staff Member

    And fixed.
  14. Skeletor

    Skeletor Member

    Sorry for pulling up an old thread. How do I increase the 100 char limit?
  15. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to edit the table field and the datawriter most likely.

Share This Page