Interview Questions administrator

Best SharePoint administrator Interview Questions and Answers with topic wise:

Recycle Bin | MMS | ManagedVsCrawledProperties |

Friday, July 18, 2014

Sharepoint multiple lines of text column validation using JQuery

This post will help us on below validations:
  1. Required field validation
  2. clear the multiline of text value

//Get the multiline of text value
var multilineoftext = RTE_GetRichEditTextOnly("<%= txtComments.ClientID %>");

if (multilineoftext == '') {

alert("Multiline of text value is required");


//To clear multi line of text value

RTE_GetEditorDocument("<%=txtComments.ClientID %>").body.innerText = "";

No comments:

Post a Comment