Copied to clipboard

Flag this post as spam?

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


  • Antonio Amézquita 35 posts 52 karma points
    Nov 08, 2013 @ 13:02
    Antonio Amézquita
    0

    Show field if a checkbox is checked

    Hi 

    I am new at Countour,

    need to show a field if a checkbox is checked

    In the case above, the input text should only be shown when the check is checked.

     

    Best

    Antonio

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 08, 2013 @ 13:22
    Dennis Aaen
    0

    Hi Antonio,

    I think you could do it by using conditional logic.

    http://umbraco.com/follow-us/blog-archive/2012/11/7/contour-30-features-conditional-logic.aspx

    So if the checkbox is checked then show the year text field.

    So set a conditional logic on the textfield like in the example in the link:

    I hope this make sense, and helps you.

    /Dennis

  • Antonio Amézquita 35 posts 52 karma points
    Nov 08, 2013 @ 14:07
    Antonio Amézquita
    0

    Hi Dennis

    thanks for helping

    I think we might be very close, however, Im not sure what to use as a value for the checkbox.

    see here:

    Nothing seems to work as a value.

     

    Best

    Antonio

  • Antonio Amézquita 35 posts 52 karma points
    Nov 08, 2013 @ 14:10
    Antonio Amézquita
    0

    And nothings gets saved either. =(

  • Fuji Kusaka 2203 posts 4220 karma points
    Nov 08, 2013 @ 14:12
    Fuji Kusaka
    0

    Have you tried TRUE or may be 1 ?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 08, 2013 @ 14:17
    Dennis Aaen
    0

    Or you could try greaterThen 0

    Which version of Contour do you use. I have read there have been some problems with conditional logic until version 3.0.9 and

    http://our.umbraco.org/forum/umbraco-pro/contour/37376-Contour-30-conditional-logic-not-working

    /Dennis

  • Antonio Amézquita 35 posts 52 karma points
    Nov 08, 2013 @ 14:30
    Antonio Amézquita
    0

    None of the above worked unfortunately, I use 3.0.17 in a local environment.

    Any other ideas?


    Appreciate your time to help!

    Antonio

     
  • Comment author was deleted

    Nov 11, 2013 @ 11:32

    Make sure you hit the + since the first row is for adding rules

  • karen 186 posts 461 karma points
    Feb 09, 2015 @ 18:51
    karen
    0

    Just fyi, came across this issue myself - 'true' works

  • 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