wvuweb / cleanslate-cms

A place to file issues and view releases for CleanSlate CMS. http://cleanslatecms.wvu.edu
6 stars 0 forks source link

Dependent custom data.... #246

Open adamglenn opened 5 years ago

adamglenn commented 5 years ago

In the page custom data, how easy would it be to only display certain options depending on what the user selects. For example, if I select “Hero” from a dropdown to insert a Hero content chunk in a page, a checkbox would then pop up giving me the option to align it to the right or something? Or if I were to select "Featurettes" an option would pop up for "Sort Order", etc.? This would be so cooooooooool....

nreckart commented 5 years ago

Not easy but not crazy difficult. Linking things up in the config would probably be the trickiest part. Could get ugly. Are you asking for individual options within a select box to result in different behavior? Or just if field A has a value (any value) selected, show field B?