- if ( $this->mParent->getMethod() === 'get' && $value === '' ) {
- // If the form is a GET form and has no value, assume it hasn't been
- // submitted yet, and skip validation
- // TODO This doesn't look right, we should be able to tell the difference
- // between "not submitted" (null) and "submitted but empty" (empty string).
- return parent::validate( $value, $alldata );
- }
-