TomislavKarafilov

Hide explanatory text for richtext fields

Discussion created by TomislavKarafilov on Jun 8, 2019
Latest reply on Jun 12, 2019 by TomislavKarafilov

Using RichText Fields in Modern Lists with Classic RichForm Forms, the RichText Fields are rendered with an explanation text at the bottom of each RichText Field. This consumes a lot of space.

 

If you want to hide this text, define a Form Load Action with an execute script action and use this script:

 

var myElements = document.querySelectorAll(".ms-formdescription a");
for (var i = 0; i < myElements.length; i++) {
myElements[i].style.display = "none";
}

Outcomes