Skip to main content
A newer version of this page is available. .

HtmlEditorHtmlEditingSettings.AllowFormElements Property

Gets or sets a value that specifies whether the editor’s HTML markup can contain form elements, such as ‘form’, ‘input’, ‘select’, etc.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v18.2.dll

Declaration

[DefaultValue(false)]
public bool AllowFormElements { get; set; }

Property Value

Type Default Description
Boolean **false**

true if form elements are allowed within the editor’s content; false if form elements are automatically removed from the editor’s HTML markup.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowFormElements
ASPxHtmlEditor
.SettingsHtmlEditing.AllowFormElements
HtmlEditorBinderSettings
.HtmlEditingSettings.AllowFormElements
HtmlEditorSettings
.SettingsHtmlEditing.AllowFormElements
MVCxHtmlEditor
.SettingsHtmlEditing.AllowFormElements
See Also