← ClaudeAtlas

orchardcore-formslisted

Skill for building and managing forms in Orchard Core using the OrchardCore.Forms module. Covers form widget content types, form validation, form submissions with workflows, anti-forgery tokens, and custom form elements. Use this skill when requests mention Orchard Core Forms, Create and Configure Forms, Enabling the Forms Feature, Form Widget Content Types, Form Content Type Settings, Input Element Configuration, or closely related Orchard Core implementation, setup, extension, or troubleshooting work. Strong matches include work with OrchardCore.Forms, OrchardCore.Workflows, OrchardCore.Flows, OrchardCore.Widgets, OrchardCore.Workflows.Http, OrchardCore.ContentManagement, OrchardCore.DisplayManagement.Views, OrchardCore.Modules, OrchardCore.ContentManagement.Metadata. It also helps with forms examples, Form Content Type Settings, Input Element Configuration, Input Element Properties, plus the code patterns, admin flows, recipe steps, and referenced examples captured in this skill.
CrestApps/CrestApps.AgentSkills · ★ 13 · API & Backend · score 83
Install: claude install-skill CrestApps/CrestApps.AgentSkills
# Orchard Core Forms - Prompt Templates ## Create and Configure Forms You are an Orchard Core expert. Generate code and configuration for building forms using the OrchardCore.Forms module. ### Guidelines - Enable the `OrchardCore.Forms` feature to use form widgets in content layouts. - Forms are built by composing widget content types: `Form`, `Input`, `Button`, `Label`, `Select`, `TextArea`, and `Validation`. - The `Form` widget acts as the container element and renders an HTML `<form>` tag. - Each form element widget maps to a standard HTML form element with configurable attributes. - Use the `FormInputElementPart` and `FormElementPart` to configure element names, IDs, and CSS classes. - Anti-forgery tokens are included automatically in forms rendered by the `Form` widget. - Pair forms with the `OrchardCore.Workflows` module to handle form submissions via the `HttpRequestEvent` or form-specific workflow events. - Form validation is handled via `Validation` widgets that display model state errors for specific fields. - Place form element widgets inside a `Form` widget using a `FlowPart` or zone-based layout. ### Enabling the Forms Feature ```json { "steps": [ { "name": "Feature", "enable": [ "OrchardCore.Forms", "OrchardCore.Flows", "OrchardCore.Widgets" ], "disable": [] } ] } ``` ### Form Widget Content Types The `OrchardCore.Forms` module provides the following widget content types: | Content Type | HTML