Copied to clipboard

Flag this post as spam?

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


  • Tobias Lopez 64 posts 210 karma points
    Jul 12, 2016 @ 06:05
    Tobias Lopez
    0

    Dictionary as label

    Hi

    Isn't it possible to use dictionaries as label in umbraco forms anymore? In my case it just renders then key without #. I tried #some key and #[some value]

    Or is there a better way to add a 'terms and conditions' link with a checkbox?

    Im running version 4.3.2

  • David Peck 690 posts 1896 karma points c-trib
    Jul 12, 2016 @ 07:34
    David Peck
    0

    I think it's [#some key]

  • Tobias Lopez 64 posts 210 karma points
    Jul 12, 2016 @ 07:55
    Tobias Lopez
    0

    Nope, it just renders the item as [#some value].

  • aaeda 117 posts 150 karma points
    Oct 09, 2017 @ 12:58
    aaeda
    0

    Hello

    Has anyone got a solution for this? I have tried the above solutions but for me it just renders blank despite having a value in the dictionary item.

    Thanks Regards Aaeda

  • David Peck 690 posts 1896 karma points c-trib
    Oct 09, 2017 @ 13:57
    David Peck
    0

    The relevant documentation is here: https://our.umbraco.org/documentation/Add-ons/umbracoforms/developer/Magic-Strings/

    I can't see a way to refer to dictionary items, so I'm going to suggest you can't. Perhaps use page fields instead?

  • Steve Crook 28 posts 160 karma points
    Nov 27, 2019 @ 21:10
    Steve Crook
    0

    For anyone looking for this as I was, #some key seems to work in the latest version. Not sure why it's not in the Magic Strings documentation, as it would seem to be an essential feature for anyone who needs their forms to work in a multilingual site.

Please Sign in or register to post replies

Write your reply to:

Draft