Change character limit on ecards

Options
How can you increase the charcter limit on the body of ecards messages?
Tagged:

Comments

  • If it's possible, I would think a hidden SDP would do it. Only support can see these Site Options. Try chat support.


    I'm doubtful, since this would depend on the size of the field in the underlying DB, which won't be so easy to change.



    There are character count reminder scripts you could use to let people know where they are with the limit. Here's the jQuery one I use.

     

    <textarea name="ecard.message" id="ecard_message" rows="5" cols="50" maxlength="255"></textarea>
    <p class="message_hint">Maximum response 255 characters, approximately 5 rows of text.</p>

    ​<script>
    $('#ecard_message').keyup(function () {
    var max = 225;
    var len = $(this).val().length;
    if (len>= max) {
    $('.message_hint').text('Maximum allowed characters reached.');
    $(this).val( $(this).val().substr(0, max) );
    } else {
    var char = max - len;
    $('.message_hint').text(char + ' characters left.');
    }
    });
    </script>

Categories