I am customising the look and feel of my forms using the method outlined in creating a folder with the form Guid under the forms folder that exists under the Views folder.
I need to have some multi-lingual important information within the layout of the form (next to the submit button) which I have done by modifying the forms copy of form.cshtml. I need to make this text that it shows multi-lingual so how do I access the dictionary item that I have created? The normal @Dictionary method does not seem to work.
Accessing dictionary items within form.cshtml
I am customising the look and feel of my forms using the method outlined in creating a folder with the form Guid under the forms folder that exists under the Views folder.
I need to have some multi-lingual important information within the layout of the form (next to the submit button) which I have done by modifying the forms copy of form.cshtml. I need to make this text that it shows multi-lingual so how do I access the dictionary item that I have created? The normal @Dictionary method does not seem to work.
Try @umbraco.library.GetDictionaryItem('YourDictionaryItemsName')
Thanks Tim, works perfectly.
Great :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.