Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Display Field Title alongside default [No text in field] placeholder when value not set - - Thanks for @nshack31 for the find
<?xml version="1.0"?>
<configuration xmlns:patch="">
<processor patch:before="*[1]" type="MyProject.CMS.Custom.Pipelines.RenderField.ShowTitleWhenBlank, MyProject.CMS.Custom" />
using Sitecore.Pipelines.RenderField;
namespace MyProject.CMS.Custom.Pipelines.RenderField
public class ShowTitleWhenBlank
public void Process(RenderFieldArgs args)
args.RenderParameters["show-title-when-blank"] = "true";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.