Jump to content

How do I create a field with drop-down list of data?


Chris Rosenau
 Share

Recommended Posts

I want to create a field that is called category. When you go to the page and modify this field it would have a drop down list of the categories to choose from. Can this be done and if so how would I go about this? Would each category have to be a page or is there an easier way to do this?

I figured out how to do this from this post: http://processwire.com/talk/topic/2319-dropdown-list-using-field-type-page-changing-selection/

Thanks!

Chris

Link to comment
Share on other sites

Just for the record, it's good practice that if you edit your post later (especially with comments like "solved / figured it out"), make it very obvious to anyone reading it by adding something like "Edit: " in front of your addition.

(I'm guessing that this is what happened here, i.e. that this issue is already solved and part of your message was added afterwards, but please correct me if I'm wrong.)

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...