I an debugging a SharePoint 2010 New form page and in developer tool I can see a function written under <script> //[CDATA] tag. But when I open the Newform.aspx in Designer I don't find that particular function on the page. Neither the function is available in the associated Master Page. Also no content editor web part on the page.

Would like to know from where this script is coming? Is there any other way the scripts shows in Developer tool in NewForm.aspx but not visible when actually opened.

1 Answer 1


If it is in a CDATA section in the BODY it is most likely a User Custom Action with a ScriptBlock setting instead of a ScriptSrc


Adding a Custom Action to a Display Form: https://msdn.microsoft.com/en-us/library/office/hh500259(v=office.14).aspx


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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