WordPress.org

Ready to get started?Download WordPress

Forums

not allow saving of post/page/... unless required field has value (2 posts)

  1. ilanp13
    Member
    Posted 3 years ago #

    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

  2. brice.guezet
    Member
    Posted 3 years ago #

    I'm searching the same thing!

    Can someone help us ?

Topic Closed

This topic has been closed to new replies.

About this Topic