You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 13/umbraco-forms/developer/ajaxforms.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -544,7 +544,7 @@ Examples demonstrating how to handle a file upload and use reCAPTCHA fields are
544
544
545
545
## Working with the CMS Content Delivery API
546
546
547
-
The [Content Delivery API](https://docs.umbraco.com/umbraco-cms/v/12.latest/reference/content-delivery-api) provides headless capabilities within Umbraco by allowing you to retrieve content in JSON format.
547
+
The [Content Delivery API](https://docs.umbraco.com/umbraco-cms/13.latest/reference/content-delivery-api) provides headless capabilities within Umbraco by allowing you to retrieve content in JSON format.
548
548
549
549
When retrieving content that contains an Umbraco Forms form picker, the output by default will consist of the ID of the selected form:
550
550
@@ -570,7 +570,7 @@ When retrieving content that contains an Umbraco Forms form picker, the output b
570
570
}
571
571
```
572
572
573
-
With [expanded output](https://docs.umbraco.com/umbraco-cms/v/12.latest/reference/content-delivery-api#output-expansion) for the property, the full details of the form will be available. The structure and content of the form representation will be exactly the same as that provided by the Forms API itself.
573
+
With [expanded output](https://docs.umbraco.com/umbraco-cms/13.latest/reference/content-delivery-api#output-expansion) for the property, the full details of the form will be available. The structure and content of the form representation will be exactly the same as that provided by the Forms API itself.
574
574
575
575
```json
576
576
{
@@ -598,3 +598,16 @@ With [expanded output](https://docs.umbraco.com/umbraco-cms/v/12.latest/referenc
598
598
}
599
599
}
600
600
```
601
+
602
+
## Dynamic form injection
603
+
For dynamic form injection on a page, such as in a modal dialog, there's a specific JavaScript event and API method. This allows reinitializing Umbraco Forms for the new content.
0 commit comments