Copied to clipboard

Flag this post as spam?

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


  • René 327 posts 852 karma points
    Oct 16, 2013 @ 23:44
    René
    0

    Enable Conditions - Contour

    Hi 

    Umbraco v6.1.6 (Assembly version: 1.0.5021.24867)

    Umbraco Contour version 3.0.17

    I´m trying to get the Conditions to work. 

    When i try to preview the form it works as expected, but when i place it in the editor, i cant get it to work. 

    I have tryed both, razor or usercontrol, and placed it inside the

    tag. 

    I have also tryed to place it dirictly in the template.

    It is a simple dropdown list where, if it contains a value, some different fields are shown.

    Any suggestions?

     

    (I have had a similar problem with the COG Navigation, where i solved it by hard coding the values in the xslt - maybee this is related to the same issue, where there seems to be some troubles by getting the values -See more:http://our.umbraco.org/projects/website-utilities/cogworks-flexible-navigation/bugs,-ideas-and-questions/43612-Cogworks-menu-doesnt-render?p=0)

    René

  • René 327 posts 852 karma points
    Oct 17, 2013 @ 15:48
    René
    101

    Hi 

    Found the solution, needed to add

    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.2.min.js" type="text/javascript"></script>

    <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.22/jquery-ui.js"></script>  

    <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.10.0/jquery.validate.min.js" type="text/javascript"></script>    

    <script src="http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.validate.unobtrusive.min.js" type="text/javascript"></script> 

    René

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Oct 21, 2013 @ 10:12
    Tim Geyssens
    0

    Yeah doesn't work with usercontrol macro only razor and you need to client scripts :)

  • 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.

Please Sign in or register to post replies