Field validation in admin dashboard

Topics: Administration, Core, Customizing Orchard
Nov 16, 2012 at 9:23 PM
Edited Nov 16, 2012 at 9:24 PM

I've created a content type made of parts and fields.  Is there any way to specify validation on any of those fields?

Specifically, I've got a Taxonomy Field that I would like to have required.  As it is, my client forgets to select a term when creating the content, and then the content never shows up on the front end.

This is just an example.  I can think of lots of scenarios where I'd need at least required validation if not something more complex on parts/fields from core or gallery modules.

Is there a best practice or even a hack to accomplish this?  Even if it was only jquery client side validation, at least it would be something.


Nov 17, 2012 at 1:43 AM

I don't think you have that option, unless the field author implemented it explicitly. You should file a bug on taxonomies and also probably for the other field types as well.