I have a 'blog' template that incorporates a checkbox list of a 'tags' template via 'relation'.
Meaning that when I go into the Admin Panel to enter a new blog post, there's a checklist of categories where I can assign any number of category tags to that particular post.
My question is:
For any blog post where I don't check the box of any tag, could there be a way for Couch to automatically assign a default, "Uncategorized" tag to that post?
I know you can set a default value for type='radio' and type='checkbox' fields, but with the type='relation', I'm not sure if this will be possible.
https://docs.couchcms.com/concepts/relationships.html
Whoever's using the Admin Panel can always put a check in the box of the "Uncategorized" manually, but in case he forgets to do so, it would be nice to have as a failsafe.
Meaning that when I go into the Admin Panel to enter a new blog post, there's a checklist of categories where I can assign any number of category tags to that particular post.
My question is:
For any blog post where I don't check the box of any tag, could there be a way for Couch to automatically assign a default, "Uncategorized" tag to that post?
I know you can set a default value for type='radio' and type='checkbox' fields, but with the type='relation', I'm not sure if this will be possible.
https://docs.couchcms.com/concepts/relationships.html
Whoever's using the Admin Panel can always put a check in the box of the "Uncategorized" manually, but in case he forgets to do so, it would be nice to have as a failsafe.