Remote Validation and post id

Support General Remote Validation and post idResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24837
    AshAsh
    Participant

    In regard to this topic.
    https://support.metabox.io/topic/validation-for-data-uniqueness/#post-24751

    How do I check the id of the post that is sending remote validation in PHP?

    #24839
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Only the pair field_id = field value will be passed to the admin-ajax, screenshot https://share.getcloudapp.com/4gu1pgyY.

    So it's not possible to check the post ID of the post sending remote validation in PHP.

    #24841
    AshAsh
    Participant

    Would you add an option to send the post id in future release?
    I think the post id is often needed.

    #24847
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I will inform the developer team to explore the possibility. Thank you.

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