This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

peters.jur55582
peters.jur55582

Hey, I have the following problem: I have a Categories model that belongs to Events model (many to many). In the backend form for Events, I am displaying the available Categories type: relation. What I would need to do is to display categories in multiple columns based on a field value, so, for example, all categories that have field value of 1 type: 1 would be column 1, categories with type: 2 would be coulmn 2 and so on. One way I could think of doing so is to have multiple custom fields and the use getCustomField1Options() method to display the categories, but the problem with this is that I am not sure how would I save the chosen values and add them to the relation.

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.