Syncfusion.AspNetCore.FormRenderer
34.2.8
Prefix Reserved
dotnet add package Syncfusion.AspNetCore.FormRenderer --version 34.2.8
NuGet\Install-Package Syncfusion.AspNetCore.FormRenderer -Version 34.2.8
<PackageReference Include="Syncfusion.AspNetCore.FormRenderer" Version="34.2.8" />
<PackageVersion Include="Syncfusion.AspNetCore.FormRenderer" Version="34.2.8" />
<PackageReference Include="Syncfusion.AspNetCore.FormRenderer" />
paket add Syncfusion.AspNetCore.FormRenderer --version 34.2.8
#r "nuget: Syncfusion.AspNetCore.FormRenderer, 34.2.8"
#:package Syncfusion.AspNetCore.FormRenderer@34.2.8
#addin nuget:?package=Syncfusion.AspNetCore.FormRenderer&version=34.2.8
#tool nuget:?package=Syncfusion.AspNetCore.FormRenderer&version=34.2.8
Syncfusion ASP.NET Core Form Renderer Component
A schema-driven form rendering component for ASP.NET Core that builds complete, interactive forms from a declarative form schema — including built-in and custom validations, conditional fields, dynamic expressions, and dependent dropdowns.
Using this package with an AI coding agent
Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:
Set up this project for Syncfusion before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com, then report the detected platform, installed skill pack, MCP status, and any required licensing action.The setup detects your project's platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.
Platform reference: https://ai.syncfusion.com/aspnet-core/llms.txt
Key Features
- Schema-Driven Rendering: Render forms from a form schema object, or any raw JSON format
- Flexible Layouts:
SingleColumn,TwoColumn,ThreeColumn, andFourColumnlayouts, with a default layout used when the schema does not specify one - Built-In Validations: Validations such as required, email, URL, number, min/max length, regex, and more, all declared in the schema can be handled in the component.
- Expressions – Compute field values dynamically from other fields using formula/expression support in the schema.
- Conditions – Show, hide, enable, disable, or require fields based on the value of other fields using conditional rules.
- Dependent Dropdowns: Cascade dropdown options so that a child field's choices update based on a parent field's selected value
- Form Events: Hook into
created,onChange,onButtonClick, andonSubmitevents to react to user interaction - Localization & RTL: Override the global culture via
localeand render right-to-left withenableRtl
Common Setup
1. Install NuGet Package
Install-Package Syncfusion.AspNetCore.FormRenderer
2. Register Tag Helper
Add to ~/Pages/_ViewImports.cshtml or ~/Views/_ViewImports.cshtml:
@addTagHelper *, Syncfusion.AspNetCore.FormRenderer
3. Add Stylesheet & Script References
In your layout file:
<head>
<link rel="stylesheet" href="_content/Syncfusion.AspNetCore.Themes/styles/fluent2.css" />
<script src="_content/Syncfusion.AspNetCore.FormRenderer/scripts/sf-form-renderer.min.js"></script>
</head>
4. Register Script Manager
<ejs-scripts></ejs-scripts>
Quick Start
Step 1: Define the Form Schema
Define a schema describing your fields, validations, conditions, and dependent dropdowns.
var schema = new
{
version = "0.1.0",
properties = new
{
customerName = new
{
id = "textbox_1780380000001_202",
name = "customerName",
type = "string",
label = "Customer Name",
textboxType = "text",
required = true,
widget = "textbox",
labelPosition = "top",
size = "Bigger",
placeholder = "Enter your full name"
},
phoneNumber = new
{
id = "textbox_1780380000003_404",
name = "phone",
type = "string",
label = "Phone Number",
textboxType = "number",
required = true,
widget = "textbox",
labelPosition = "top",
size = "Bigger",
placeholder = "Enter your phone number"
}
}
};
Step 2: Render the Form
<div class="control-section">
<div class="sample-container">
<ejs-form-renderer id="formrenderer"
schema="@schema"
layout="@Syncfusion.EJ2.FormRenderer.FormLayout.TwoColumn">
</ejs-form-renderer>
</div>
</div>
Step 3: Run the Application
Press Ctrl+F5 to run the application in your browser.
Documentation
Support
License
This is a commercial product and requires a paid license for possession or use. Review the Syncfusion EULA
About Syncfusion
Syncfusion provides 1600+ UI components and frameworks for web, mobile, and desktop development across multiple platforms:
Web: Blazor | ASP.NET Core | ASP.NET MVC | JavaScript | Angular | React | Vue
Desktop: WinForms | WPF | WinUI
Learn more at www.syncfusion.com
sales@syncfusion.com | Toll Free: 1-888-9-DOTNET
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.2.8)
- Syncfusion.AspNetCore.Buttons (>= 34.2.8)
- Syncfusion.AspNetCore.Calendars (>= 34.2.8)
- Syncfusion.AspNetCore.DropDowns (>= 34.2.8)
- Syncfusion.AspNetCore.Grid (>= 34.2.8)
- Syncfusion.AspNetCore.ImageEditor (>= 34.2.8)
- Syncfusion.AspNetCore.Inputs (>= 34.2.8)
- Syncfusion.AspNetCore.Navigations (>= 34.2.8)
- Syncfusion.AspNetCore.Notifications (>= 34.2.8)
- Syncfusion.AspNetCore.Popups (>= 34.2.8)
- Syncfusion.AspNetCore.RichTextEditor (>= 34.2.8)
- Syncfusion.AspNetCore.SplitButtons (>= 34.2.8)
- Syncfusion.Licensing (>= 34.2.8)
-
net8.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.2.8)
- Syncfusion.AspNetCore.Buttons (>= 34.2.8)
- Syncfusion.AspNetCore.Calendars (>= 34.2.8)
- Syncfusion.AspNetCore.DropDowns (>= 34.2.8)
- Syncfusion.AspNetCore.Grid (>= 34.2.8)
- Syncfusion.AspNetCore.ImageEditor (>= 34.2.8)
- Syncfusion.AspNetCore.Inputs (>= 34.2.8)
- Syncfusion.AspNetCore.Navigations (>= 34.2.8)
- Syncfusion.AspNetCore.Notifications (>= 34.2.8)
- Syncfusion.AspNetCore.Popups (>= 34.2.8)
- Syncfusion.AspNetCore.RichTextEditor (>= 34.2.8)
- Syncfusion.AspNetCore.SplitButtons (>= 34.2.8)
- Syncfusion.Licensing (>= 34.2.8)
-
net9.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.2.8)
- Syncfusion.AspNetCore.Buttons (>= 34.2.8)
- Syncfusion.AspNetCore.Calendars (>= 34.2.8)
- Syncfusion.AspNetCore.DropDowns (>= 34.2.8)
- Syncfusion.AspNetCore.Grid (>= 34.2.8)
- Syncfusion.AspNetCore.ImageEditor (>= 34.2.8)
- Syncfusion.AspNetCore.Inputs (>= 34.2.8)
- Syncfusion.AspNetCore.Navigations (>= 34.2.8)
- Syncfusion.AspNetCore.Notifications (>= 34.2.8)
- Syncfusion.AspNetCore.Popups (>= 34.2.8)
- Syncfusion.AspNetCore.RichTextEditor (>= 34.2.8)
- Syncfusion.AspNetCore.SplitButtons (>= 34.2.8)
- Syncfusion.Licensing (>= 34.2.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.