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?
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!
Hmm might be that the dictionary items aren't supported yet for that one, will take a look on monday
Great! Thanks Tim!
Yeah I can confirm that the conditions don't support dictionary items at this point, will provide a fix for it today :)
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
Will be part of 3.0.15 issue here http://issues.umbraco.org/issue/CON-402
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
Are you using the razor macro since conditions only work on that one :)
And make sure you have script references , details here http://umbraco.com/follow-us/blog-archive/2012/11/9/getting-started-with-contour-30-beta.aspx
Oh brilliant! It is working now after I have included the script references on my template!
Thank you so much!!! :)
Great, glad it's working :)
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.