1

I'd like to use conditional fields in my CMS instance. I found an old plugin called Reasons. I'm not sure it's compatible with Craft 3, so I'm looking for a workaround.

2 Answers 2

3

For what it's worth, it's coming in Craft 4. The author of the Reasons plugin has specifically said he won't port it to Craft 3, as this will be part of core in the next release.

1
  • Thanks, so let's hope in Craft 4 :) Commented Dec 3, 2019 at 13:32
2

I really miss the Reasons plugin and am disappointed the makers of Craft didn't roll it in to Craft 3.

Not quite what you're looking for, but you could try using the Control Panel CSS and Control Panel JS to add lightswitches that show/hide specific fields. You could start with the field hidden, and require a click on the lightswitch to show it.

It's a bit of a hack, but can work well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.