Minimum characters in a post? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    Minimum characters in a post?

    avatar
    Dark120513
    New Member


    Posts : 11
    Reputation : 1
    Language : English, CSS, HTML

    Minimum characters in a post? Empty Minimum characters in a post?

    Post by Dark120513 December 10th 2011, 8:59 pm

    I'm wondering a lot... and now I really need to ask...
    Is there a way to put into a forum something like a minimum amount of characters in a post? Like a minimum of 50 characters or something like that?
    avatar
    Guest
    Guest


    Minimum characters in a post? Empty Re: Minimum characters in a post?

    Post by Guest December 10th 2011, 9:14 pm

    Read https://help.forumotion.com/t1709-some-limits-of-forumotion-forum#9447 you can't set this.
    Caihlem wrote: Arrow Characters in the messages: 65,000 characters (Including spaces)
    avatar
    Dark120513
    New Member


    Posts : 11
    Reputation : 1
    Language : English, CSS, HTML

    Minimum characters in a post? Empty Re: Minimum characters in a post?

    Post by Dark120513 December 10th 2011, 11:13 pm

    That seems to be the maximum, not the minimum... I don't get it.
    avatar
    Guest
    Guest


    Minimum characters in a post? Empty Re: Minimum characters in a post?

    Post by Guest December 10th 2011, 11:17 pm

    Sorry, but as I said you can't... Wink
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Minimum characters in a post? Empty Re: Minimum characters in a post?

    Post by LGforum December 11th 2011, 1:25 am

    course you can Smile

    Try this in a JS file:

    Code:

    $(function() {
    var x=document.forms['post'];
    $(x.post).click(function(e) {
     if (x.message.value.length < 10) {
      e.preventDefault();
      alert('Your post must contain at least 10 character');
     }
    });
    });

    That code will add a minimum number of ten characters to the editors. If the post does not have ten characters in it, it will tell the user.