WordPress.org

Support

Support » Plugins and Hacks » not allow saving of post/page/… unless required field has value

not allow saving of post/page/… unless required field has value

  • hello,

    i’ve made a template for specific kind of page on a site, and also added that template a special field of its own (which only shows if the page is of that template).
    i’ve made that special field (a select one) a required field (i added the tag required to it and gave it value true).
    i’m now trying to find a way – to make sure that when the user on that adds that page want to save it – it will be able to be saved only if he chose a value for the select field (and will prevent it from being saved and even give some kind of error if he tries to save it without giving that field a value)

    any idea how?

    thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘not allow saving of post/page/… unless required field has value’ is closed to new replies.
Skip to toolbar