Recent changes RSS feed
 

FileUploadRequiredRule

Input validation rule that tests for a file upload. Similar to RequiredRule for file uploads.

Example

$form->addRule (new FileUploadRequiredRule ('fieldName'));

This example checks that the file upload specified by “fieldName” exists (checks that a file was uploaded).

Additional Information

 
wact/api/validation/rule/fileuploadrequiredrule.txt · Last modified: 2006/12/09 17:16
 
Hosting for this site donated by Procata PHP Development