Support

Account

Home Forums Backend Issues (wp-admin) Conditional for validating Reply To: Conditional for validating

  • If you want to validate one field based on a value entered for another field then you must look in $_POST[‘acf’]

    
    if ($_POST['acf']['field_KEY'] == 'test') {
      // do something
    }