Wednesday, November 7, 2012

Contour 3.0 Features: Conditional logic

Another post to highlight a new feature coming up in Contour 3.0. This time it's the most requested feature that made it in: support for conditional logic on fields.

Let's say you have the following form:

image

It only makes sense to show email or phone when that was the option in the 'how should we contact you' field.

And that's exactly what the addition of conditional logic will make possible!

By enabling and setting up a rule on both the email and phone field with the new UI component

ConditinalLogicUI

The fields will be hidden and only shown if the corresponding option is chosen

image

That's it!

Want to be updated on everything Umbraco?

Sign up for the Umbraco newsletter and get the latest news and special offers send directly to your inbox