Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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
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.
And nothings gets saved either. =(
Have you tried TRUE or may be 1 ?
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
None of the above worked unfortunately, I use 3.0.17 in a local environment.
Any other ideas?
Appreciate your time to help!
Comment author was deleted
Make sure you hit the + since the first row is for adding rules
Just fyi, came across this issue myself - 'true' works
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
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
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
And nothings gets saved either. =(
Have you tried TRUE or may be 1 ?
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
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
Make sure you hit the + since the first row is for adding rules
Just fyi, came across this issue myself - 'true' works
is working on a reply...