Copied to clipboard

Flag this post as spam?

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


  • David 11 posts 122 karma points
    Jul 11, 2013 @ 22:50
    David
    0

    Conditions on multi-lingual strings on Contour form

    I'm trying to set up a condition of showing a radiobutton list (list name is #contactFormManager which is a bilingual term) when an item of of the other radiobutton list is selected. But it does not seem to work if the item is using a dictionary item (#labelManager).  

    The condition is:

    (Show) this field if (All) of the following match:

    #contactFormManager (IS) #labelManager

    Am I doing the syntax right?  Or is this supported in Contour?

    Many thanks!

  • Comment author was deleted

    Jul 12, 2013 @ 21:22

    Hmm might be that the dictionary items aren't supported yet for that one, will take a look on monday

  • David 11 posts 122 karma points
    Jul 12, 2013 @ 22:23
    David
    0

    Great! Thanks Tim!

  • Comment author was deleted

    Jul 15, 2013 @ 11:00

    Yeah I can confirm that the conditions don't support dictionary items at this point, will provide a fix for it today :)

  • Comment author was deleted

    Jul 15, 2013 @ 11:06

    Ok found the fix, you'll just need to update the \Umbraco\Plugins\umbracoContour\Views\Script.cshtml file

    With the new version found here 

    https://www.dropbox.com/s/cqogiq8f7o7sma4/Script.cshtml

  • Comment author was deleted

    Jul 15, 2013 @ 11:08

    Will be part of 3.0.15 issue here http://issues.umbraco.org/issue/CON-402

  • David 11 posts 122 karma points
    Jul 17, 2013 @ 19:54
    David
    0

    Hi Tim!

    It is working on preview page, but it is not working on the actual page. I wonder if there is anything else that I need to do?

    Many thanks,

    ~David

  • Comment author was deleted

    Jul 17, 2013 @ 19:59

    Are you using the razor macro since conditions only work on that one :)

  • Comment author was deleted

    Jul 17, 2013 @ 20:00
  • David 11 posts 122 karma points
    Jul 17, 2013 @ 20:12
    David
    0

    Oh brilliant! It is working now after I have included the script references on my template!

    Thank you so much!!! :)

  • Comment author was deleted

    Jul 17, 2013 @ 20:13

    Great, glad it's working :)

Please Sign in or register to post replies

Write your reply to:

Draft