Title: Restrict same custom field value
Last modified: August 19, 2016

---

# Restrict same custom field value

 *  [alien13](https://wordpress.org/support/users/alien13/)
 * (@alien13)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/restrict-same-custom-field-value/)
 * Hi, I have one question. Is there any way to restrict posts to have custom field
   key with same values for diffrent posts.
 * Example:
 * Post 1 – Custom Field Key – URL / Custom Field Value – Test 1
    Post 2 – Custom
   Field Key – URL / Custom Field Value – Test 2
 * If user put Test 1 in Post 2 to have a message, that tell’s him that other post
   already use this Value.

The topic ‘Restrict same custom field value’ is closed to new replies.

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [restrict](https://wordpress.org/support/topic-tag/restrict/)
 * [same](https://wordpress.org/support/topic-tag/same/)
 * [value](https://wordpress.org/support/topic-tag/value/)

 * 0 replies
 * 1 participant
 * Last reply from: [alien13](https://wordpress.org/support/users/alien13/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/restrict-same-custom-field-value/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
