• Looking through the Custom Field Template options, I was hoping to find something like “required = true” to make a field required. It doesn’t seem to be there — am I missing something, or is this just not a feature at present?

Viewing 1 replies (of 1 total)
  • Yes, it is so very possible.

    One way to make this work is to code an action that happens after the editing user submits content to save.

    Look at the edit post action hook.

    If you code this, it should be either as part of your theme functions, or as a plugin. Don’t go editing the wordpress code itself, as in an upgrade, your stuff will break.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Custom Field Template] Is it possible to make a field required?’ is closed to new replies.