Support

Account

Home Forums Backend Issues (wp-admin) Show a warning if a field value already exists in another post (same type)

Unread

Show a warning if a field value already exists in another post (same type)

  • Hi, I’m creating a website that sells training courses and I have a numeric custom field for every course… something like “Course Ref”.

    This “Course Ref” field is used to identify a specific course, so it’s really important that it’s filled with the right value. So, when the administrator create a new course and fill all its data from backend, I’d like to show a notice if the value for “Course Ref” has been already used for another course.

    Just to be more clear: this field value MUST NOT be unique… it CAN be used in other courses. But in that case a notice warning should be displayed, just to make sure that the numeric value is the right one.

    Can someone please help me? Thanks in advance!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.