Dynamic Forms on Lightning record pages
Key Takeaway
With Dynamic Forms, you manage a record page's fields and sections directly in Lightning App Builder, not in the page layout editor.
The single Record Detail component shows a page layout's fields as one block. Dynamic Forms breaks that component into separate Field and Field Section components. You can place these anywhere on a Lightning record page and show or hide them with visibility rules.
Record Detail compared with Dynamic Forms
| Record Detail component | Dynamic Forms | |
|---|---|---|
| Where the fields come from | The object's page layout | The page itself, where each field and section is its own component |
| How you change which fields appear, or where | Only in the page layout editor | Right in Lightning App Builder |
| Assignment model | You assign both a Lightning page and a page layout | A single assignment model: you assign only the Lightning page |
Dynamic Forms changes more than the view. On a Dynamic Forms page, the fields users see when they create, edit, or clone a record come from the fields on the page, not from the page layout. On most LWC-enabled record pages, Dynamic Forms also applies to the record create window that opens from a lookup field.