Support » Plugin: Toolset Types - Custom Post Types, Custom Fields and Taxonomies » [FEATURE REQUEST] Unique validate for Post and Term custom fields

  • Dear Types team,

    Please add this feature –

    We can add custom Text and Number fields for Post and Terms.
    Currently we can only add Required not not as Validation.

    Pls add option to add Unique validation option for the field.
    Many times we need to add some additional unique fields.

    If a field is set as Unique and someone puts a non-unique value, it should say –
    “This value is already set for {NAME}. Pls use different value”.

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Support Beda

    (@bedas)

    I don’t think we will implement this.

    It is a quite rare edge case, and validation is usually performed on requirement or value, but not on the uniqueness of a field.

    You should instead apply some Custom Code there, where you compare existing Field values in that Post Type and throw an error if it’s the case.

Viewing 1 replies (of 1 total)
  • The topic ‘[FEATURE REQUEST] Unique validate for Post and Term custom fields’ is closed to new replies.