Umbraco Forms - Block List Label not working?

Hello

I’m currently running Umbraco 17.3.5 with Forms 17.3.2 and I’m trying to render the selected form on a block by using {umbFormName: form} as described here Block List Labels | Forms | Umbraco Documentation (Yes my alias is form, not contactForm like in the example).

But it does not seem to be working - When I look at the block there I would like to see the form name I just see the expression rendered instead - So it just reads {umbFormName: contactForm}

If I use the shortand syntax like {=form} I get the GUID of the form instead.

Seems like a bug to me, unless I’m missing something? :slight_smile:

/Jan

Hey Jan,

I quickly did a site setup with the versions you have mentioned. I was able to render the label name with the {umbFormName: contactForm}

Here’s how I did it:

Added a random document type called Home and a BlockList in it:

Added a block to it:

Added block label:

Here’s the block:

Selected a form and Form name appear as a label.

Hope it helps!

Hi Shekhar,

I just tested using same setup as you, and confirm it also works here:

Thanks for chiming in Shekhar and Andreas.

It also works for me now - The culprit was, that before I discovered the documentation for this, I was trying to build my own UFM component. which by coincidence had the same name as the one that already existed.

While trying to use the builtin syntax I guess it was failing because I had forgot unregister my custom component properly. After removing it and rebuilding it worked fine.

/Jan