Jump to content

Pages - Sub-category options based on main category selection


alexm
 Share

Recommended Posts

Well it's a lovely Saturday afternoon in blighty.

So I'm just wondering guys, I'm building a page which will be an add property page for estate agents.

Now I am using input field type Pages to create a dropdown list of property types as pages.

Then under these property types i would like subtypes.

So it may look like:

Houses -> Detached

             -> Semi-Detached

Another -> Another sub type

You get the idea

Now... 

I wanted to have it set up so when creating the page You select the Property type from the dropdown then Once you have chosen one the subcategory dropdown shows listing the subcategories of that category. 

I noticed when setting up the sub category's "Selectable pages" that custom PHP code is not compatible with page list selector so I'm looking for some advice on what would be the best way of going about achieving this?

I'm sorry if it has been asked before, I can't find the same question in the forum.

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...