ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to automatically add blog articles to the category "Video" if a video embed is pasted into the provided field. Likewise I would like to automatically remove blog articles from the "Video" category if the provided field is cleared.

Is there a way to do this?

share|improve this question
up vote 1 down vote accepted

You can use a bit of javascript / jquery to set the corresponding category. And you can add it to the publish screen by making an Accessory.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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