1

I was wondering if it is possible to add a pop up/Dialog box to column description? I would like to concerve space by allowing the user a "view more option" with a more detailed description of the list item. Currently there is only a 1-2 line prompt, but it is desired to have a longer more detailed description. Please advise.

enter image description here

1
  • I would be happy if it just linked to an internal or external site. Jun 2, 2016 at 13:35

2 Answers 2

1

You can do that using Client Side Rendering. I believe following references will help you to customize your form.

There is great tool for SharePoint CSR Live Edit in Chrome.

0

You can use JQuery to find and replace the html of your description. Add a content editor web part to your new and edit forms. This code will alert the full description.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script>
   $(document).ready(function(){
        $("#tbAllFields").html($("#tbAllFields").html().replace("This is my description and this is the part I want to hide.", "This is my description and ... <a onclick='javscript:alert(\"This is my description and this is the part that I want to hide.\");'>more</a>"));
   });
</script>

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.