Ticket #298: Enhance fValidation to check $_FILES as well as regular fields
| Reporter: | bill | Type: | enhancement | Opened: | 1 year ago | Status: | closed |
|---|---|---|---|---|---|---|---|
| Assigned to: | wbond | Priority: | minor | Modified: | 2 months ago | Resolution: | fixed |
I'm uploading data to a table. My form has 2 fields: database_table, and data_file (file upload type). I'd like to be able to validate both at the same time this way:
$validator = new fValidation(); $validator->addRequiredFields('database_table', 'data_file'); $validator->validate();
This currently doesn't work, but it would be nice if it did.
Attachments
History
10/22/09 14:37:08 changed by wbond
- priority changed from major to minor.
05/27/10 01:44:26 changed by wbond
- status changed from new to closed.
- resolution set to fixed.
- description changed.

It is now possible to combine fUpload validation with fValidation in r833 by calling fValidation::addFileUploadRule().