This project is read-only.

Is there a conditional choice content type or something like that in orchard?

Topics: Customizing Orchard, General
Jul 13, 2015 at 3:33 PM

In one of my content type, I have certain choices for the admin user to choose. Base on what they choose, another section will hide or show.

For example, an editor may publish an article about fund. What I want is let the editor:
  1. pick which country the fund is based on.
  2. Base on that choice, it will show some specific sub-choices base on that.
  3. The editor write some other details about this fund and click save.
I can write a module for this, just wondering if this kind of function already available in somewhere.
Jul 13, 2015 at 4:43 PM
Nothing like that out of box as far as I know.
Jul 14, 2015 at 8:04 AM
I think you can easily override the template for that editor, and include some jQuery to hide/show the other content.
Jul 14, 2015 at 8:58 AM
I was thinking of a generic module, which can be reused. Maybe over complicated myself.