QuickForm2 (rules involving to objects)

From: Date: Tue, 08 Jun 2010 06:51:47 +0000
Subject: QuickForm2 (rules involving to objects)
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30609@lists.php.net to get a copy of this message
Hi, I have a form where I want to force the user to fill either a text area or upload a file. I need help with that. Whey I did is not working: $objTextArea->addRule('required', 'Please provide a text or file version') ->or_($objUpload->createRule('required', 'Please provide a text or file version')); Thank you

« previous php.pear.general (#30609) next »