Support

Account

Home Forums General Issues Validate Front End Form Submission – Unique Values only Reply To: Validate Front End Form Submission – Unique Values only

  • @donleona are you getting the current post ID

    
    $post_id = intval($_POST['_acf_post_id']);
    

    and using it in your query

    
    'post__not_in' => array($post_id),
    

    This should prevent looking at the value of the current post