// Set our custom valid fields$this->validfields['url'] = array(TYPE_STR, REQ_NO);// Repeat for others