Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Graham Carr 277 posts 389 karma points
    Mar 06, 2013 @ 15:52
    Graham Carr
    0

    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.

  • Comment author was deleted

    Mar 06, 2013 @ 16:03

    Try @umbraco.library.GetDictionaryItem('YourDictionaryItemsName')

  • Graham Carr 277 posts 389 karma points
    Mar 06, 2013 @ 16:12
    Graham Carr
    0

    Thanks Tim, works perfectly.

  • Comment author was deleted

    Mar 06, 2013 @ 16:16

    Great :)

Please Sign in or register to post replies

Write your reply to:

Draft