/** * Whether the field is submitted in a particular array cage. * * @param T_Cage_Array $source source array to check * @return bool whether a non-zero length value has been submitted */ function isSubmitted(T_Cage_Array $source) { $submitted = parent::isSubmitted($source); if ($submitted) { $value = $source->asScalar($this->getFieldname())->uncage(); if (strcmp($this->no_input_key, $value) === 0) { $submitted = false; } } return $submitted; }