From 719ceb6b2858a5afce1f882e3edf01c35e885869 Mon Sep 17 00:00:00 2001 From: NiranjanAnumuthu21 Date: Thu, 31 Jul 2025 09:44:46 +0530 Subject: [PATCH 1/3] 857401: Added the form field shading in form field file --- ej2-asp-core-mvc/document-editor/form-fields.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ej2-asp-core-mvc/document-editor/form-fields.md b/ej2-asp-core-mvc/document-editor/form-fields.md index 862c9fd96e..892d2c7067 100644 --- a/ej2-asp-core-mvc/document-editor/form-fields.md +++ b/ej2-asp-core-mvc/document-editor/form-fields.md @@ -72,6 +72,22 @@ dropdownfieldInfo.dropDownItems = ['One','Two', 'Three'] documentEditor.setFormFieldInfo('Drop1',dropdownfieldInfo); ``` +## Form Field Shading + +You can customize form field shading at the application level using the `formFieldSettings` property. + +The example code below demonstrates how to set a custom shading color and how to disable shading (by default, shading is enabled). + +```typescript +// Set a custom shading color (for example, white) +container.documentEditorSettings.formFieldSettings.shadingColor = '#ffffff'; + +// Disable form field shading entirely +container.documentEditorSettings.formFieldSettings.applyShading = false; +``` + +>Note:This customization only affects the application UI and will not be preserved when exporting the document. + ## Export form field data Data of the all Form fields in the document can be exported using `exportFormData`. From 61f914ff121819a79c70e1c69f5aff4ca739fd37 Mon Sep 17 00:00:00 2001 From: NiranjanAnumuthu21 Date: Mon, 4 Aug 2025 17:48:39 +0530 Subject: [PATCH 2/3] 857401: Changed the note syntax --- ej2-asp-core-mvc/document-editor/form-fields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ej2-asp-core-mvc/document-editor/form-fields.md b/ej2-asp-core-mvc/document-editor/form-fields.md index 892d2c7067..4120fe57ea 100644 --- a/ej2-asp-core-mvc/document-editor/form-fields.md +++ b/ej2-asp-core-mvc/document-editor/form-fields.md @@ -86,7 +86,7 @@ container.documentEditorSettings.formFieldSettings.shadingColor = '#ffffff'; container.documentEditorSettings.formFieldSettings.applyShading = false; ``` ->Note:This customization only affects the application UI and will not be preserved when exporting the document. +N> This customization only affects the application UI and will not be preserved when exporting the document. ## Export form field data From 133ec2382e4e1adf420b6eeeb1bf0cfc2eaa8bb5 Mon Sep 17 00:00:00 2001 From: NiranjanAnumuthu21 Date: Tue, 5 Aug 2025 13:23:06 +0530 Subject: [PATCH 3/3] 857401: Fixed the CI failures --- ej2-asp-core-mvc/document-editor/form-fields.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ej2-asp-core-mvc/document-editor/form-fields.md b/ej2-asp-core-mvc/document-editor/form-fields.md index 4120fe57ea..8fbe20fcfc 100644 --- a/ej2-asp-core-mvc/document-editor/form-fields.md +++ b/ej2-asp-core-mvc/document-editor/form-fields.md @@ -129,7 +129,8 @@ Document editor provides an option to protect and unprotect document using `enfo {% include code-snippet/document-editor-container/protect-unprotect/tagHelper %} {% endhighlight %} {% highlight c# tabtitle="Protect-unprotect.cs" %} -{% endhighlight %}{% endtabs %} +{% endhighlight %} +{% endtabs %} {% elsif page.publishingplatform == "aspnet-mvc" %} @@ -138,7 +139,8 @@ Document editor provides an option to protect and unprotect document using `enfo {% include code-snippet/document-editor-container/protect-unprotect/razor %} {% endhighlight %} {% highlight c# tabtitle="Protect-unprotect.cs" %} -{% endhighlight %}{% endtabs %} +{% endhighlight %} +{% endtabs %} {% endif %} N> In enforce Protection method, first parameter denotes password and second parameter denotes protection type. Possible values of protection type are `NoProtection |ReadOnly |FormFieldsOnly |CommentsOnly`. In stop protection method, parameter denotes the password. \ No newline at end of file