Saving a form with a Text form element that contains an Html tag set to span might fail with the error "The form was not saved" in the UI.
if (string.Compare(serializeItem.htmlTag.Value, "script", true) >= 0)so that it looks like this:
if (string.Compare(serializeItem.htmlTag.Value, "script", true) == 0)
<?xml version="1.0" encoding="utf-8"?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/"> <sitecore role:require="Standalone or ContentManagement"> <pipelines> <forms.saveForm> <processor type="Sitecore.ExperienceForms.Client.Pipelines.SaveForm.CreateModels, Sitecore.ExperienceForms.Client" resolve="true"> <patch:attribute name="type">CustomNamespace.CreateModels, CustomAssembly</patch:attribute> </processor> </forms.saveForm> </pipelines> </sitecore> </configuration>