Max length for Content field in Content Block is limited to 255.

Hello,

When creating a new content block, the Contents filed is limited with maxlength = 255. Is there any way to enter the content more than 255? I tested v7.2h, v7.3 on IE10, IE11 and Chrome. Any feedback is appreciated! Thank you!

  • 0

    You can 'hack' it by inspecting the element, then changing the max length:

    Or you could add a js file to the library with the following code, so it changes it for you each time:

    $( document ).ready(function()
    {
    SetContentSize();
    });


    function SetContentSize()
    {

    var block = crm.getArg("blockname",crm.url());

    if(block!="")
    {

    $("#Contents").attr('maxlength','1000');
    }

    }


    The column in the database is named 'CObj_Properties' in the custom_screenobjects table. It is an NVARCHAR(MAX).