0

I need to limit characters in hyperlink field in the hyperlink field it consists with two part one is to enter hyper link and other one in description so I need to keep the url enter part as it is and need to limit description part

0

The customization of Hyperlink field on the client side probably the simplest way in that case.

For example, in order limit description part of Hyperlink field to 4 symbols:

function initListForm()
{
   $('input[name$="UrlFieldDescription"]').attr("maxlength", 4); 
}

Usage

_spBodyOnLoadFunctionNames.push("initListForm");

P.S. For embedding JavaScript code on Edit form use Delegate Control technique

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.