Conditional fields

You can hide or display fields depending on the value of a related property.

You do this by using the ConditionalVisibilityAttribute in the following way:

This sample adds a rule that displays field MyProperty, only if the Title property is equals to My custom title.

The ConditionalVisibilityAttribute takes a parameter that is defined in the following JSON:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Tags

Was this article helpful?

Next article

Sections and views