getRules(), parent::rules(), ); if(!$this->expectsJson()) { //accepts an array for the gui form $rules['asset_tags.*'] = $rules['asset_tag']; unset($rules['asset_tag']); $rules['serials.*'] = $rules['serial']; unset($rules['serial']); } return $rules; } }