I have an email field in a form. On submission, I am then trying to email the form values, but it seems that Sitecore cannot find the field element, even through I've used the built in Email Template editor to add the placeholders.
Exception: System.InvalidOperationException
Message: String variable is null or empty.
Source: Sitecore.Kernel
at Sitecore.Diagnostics.Assert.IsNotNullOrEmpty(String value, String message)
at Sitecore.Modules.EmailCampaign.Util.AssertNotNullOrEmpty(String var)
at Sitecore.Modules.EmailCampaign.Layouts.GetUserFields.OnLoadComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Anyone know a way around this?