Helix
Triumph TechLava DocsRock Styling
  • Getting Started
    • 👋Welcome
    • Overview
    • Customizing Rock
    • Plugin Installation
    • FAQ
    • Roadmap
    • 🚨Security
  • HTMX
    • Learning More
    • Syntax Style Guide
  • Lava Applications
    • Overview
    • Applications
    • Endpoints
    • Content Block
    • Magnus
    • Observability
  • Lava Commands
    • Delete Entity
    • Modify Entity
    • DB Transaction
    • HTTP Response
    • Render Lava Endpoint
  • Forms & Controls
    • Understanding Forms
    • Using Form Controls
    • Creating New Controls
    • Form Validation
    • Loading Indicator
  • Strategies
    • Tips
    • Related Entities
    • Limitations
Powered by GitBook
On this page
  1. Forms & Controls

Understanding Forms

HTMX, and HTML in general, assume that forms are independent units and that a page may contain multiple forms. However, ASP.Net, specifically WebForms, operates with a single form that encompasses the entire page. Understanding this distinction is crucial to avoid issues with nested forms.

When working with forms for validation we've added the concept of a 'Lava Form'. These forms are independent and make up for the fact that you can't have multiple form tags on your page. You can wrap the markup of your forms in a <lava-form /> tag.

PreviousRender Lava EndpointNextUsing Form Controls

Last updated 11 months ago