Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 14/umbraco-forms/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
* [Apply keys and indexes for forms in the database](developer/healthchecks/forms-in-the-database-apply-keys.md)
* [Localization](developer/localization.md)
* [Headless/AJAX Forms](developer/ajaxforms.md)
* [Block List Filters](developer/blocklistfilters.md)
* [Block List Labels](developer/blocklistfilters.md)
* [Field Types](developer/field-types.md)
* [Storing Prevalue Text Files With IPreValueTextFileStorage](developer/iprevaluetextfilestorage.md)

Expand Down
18 changes: 12 additions & 6 deletions 14/umbraco-forms/developer/blocklistfilters.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
# Block List Filters
# Block List Labels

When working with the Block List editor, [the editor experience is enhanced](https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/block-editor/block-list-editor#editor-appearance) by defining a label for the appearance of the Block.

These labels can contain AngularJS filters.
These labels can use [Umbraco Flavored Markdown (UFM)](https://docs.umbraco.com/umbraco-cms/reference/umbraco-flavored-markdown).

A filter `umbFormsFormName` is available for use.
An option that allows for display of a forms name - `umbFormName` - is available for use.

It should be rendered as follows, with a reference to the property alias on the block element that uses a form picker.

```
{umbFormName: <property-alias>}
```

If you add a reference to a property containing a form to the block's label, it will render with the form's Id.

For example, assuming a property containing a picked form with an alias of `contactForm`:

```
{{contactForm}}
{=contactForm}
```

By using the filter as follows, the form's name will be displayed instead.
By using the markdown as follows, the form's name will be displayed instead.

```
{{contactForm | umbFormsFormName}}
{umbFormName: contactForm}
```
5 changes: 5 additions & 0 deletions 14/umbraco-forms/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ If you are upgrading to a new major version, you can find information about the

This section contains the release notes for Umbraco Forms 14 including all changes for this version.

#### [**14.2.0-rc2**](https://github.com/umbraco/Umbraco.Forms.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F14.2.0) **November 3rd 2024**

* Updated dependency on Umbraco CMS to 14.3.0.
* Added a replacement for the AngularJS [block list label filter we provide for Forms 13](../../13/umbraco-forms/developer/blocklistfilters). The new implementations uses [Umbraco Flavored Markdown (UFM)](https://docs.umbraco.com/umbraco-cms/reference/umbraco-flavored-markdown) and is [documented here](./developer/blocklistfilters.md).

#### [**14.2.0-rc1**](https://github.com/umbraco/Umbraco.Forms.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F14.2.0) **October 25th 2024**

##### Multi-step forms
Expand Down
18 changes: 12 additions & 6 deletions 15/umbraco-forms/developer/blocklistfilters.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
# Block List Filters
# Block List Labels

When working with the Block List editor, [the editor experience is enhanced](https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/block-editor/block-list-editor#editor-appearance) by defining a label for the appearance of the Block.

These labels can contain AngularJS filters.
These labels can use [Umbraco Flavored Markdown (UFM)](https://docs.umbraco.com/umbraco-cms/reference/umbraco-flavored-markdown).

A filter `umbFormsFormName` is available for use.
An option that allows for display of a forms name - `umbFormName` - is available for use.

It should be rendered as follows, with a reference to the property alias on the block element that uses a form picker.

```
{umbFormName: <property-alias>}
```

If you add a reference to a property containing a form to the block's label, it will render with the form's Id.

For example, assuming a property containing a picked form with an alias of `contactForm`:

```
{{contactForm}}
{=contactForm}
```

By using the filter as follows, the form's name will be displayed instead.
By using the markdown as follows, the form's name will be displayed instead.

```
{{contactForm | umbFormsFormName}}
{umbFormName: contactForm}
```
Loading