Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Show/Hide property editors based on other property value in Content Block Editing

$
0
0

Is it possible to make some properties of you content block only visible or enabled in Edit mode based on the value of another property?  For example, if my content type has properties

UseHeader (bool)

HeaderText (string)

HeaderBackground (custom SelectionFactoryType)

HeaderIcon (ContentReference Image selector)

Could I make the HeaderText, HeaderBackground, and HeaderIcon properties all be hidden from the Edit screen unless the "UseHeader" checkbox is selected, then those three properties appear for configuration?


Viewing all articles
Browse latest Browse all 9076

Trending Articles