Custom Fields
Re-Envisioned
Support General how to check the unique value for the custom meta?

  • Creator
    Topic
  • #16915
    zhenglc
    Participant

    how to check the unique value for the custom meta?

    like product sku? sku value is unique.

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #16926
    Anh Tran
    Keymaster

    Unfortunately, this is not supported for now. But you can hook to the before save action and perform a check for the value.

    #30366
    omarthegeek
    Participant

    Hi. Is there a code example on how to do that exactly i.e. how to display a message to the user when they have entered a previously used value. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.