Fileupload in HTML_OOH_Form
| From: | Markus Wolff | Date: | Tue, 08 Oct 2002 08:00:20 +0000 |
| Subject: | Fileupload in HTML_OOH_Form | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9927@lists.php.net to get a copy of this message | ||
Hi there,
I´m using OOH_Forms a lot but I´ve never tried the fileupload stuff. I
need to use it right now but it doesn´t seem to work - is it broken?
What happens is, if I submit the form and try to access the name of the
uploaded file with $form->getValue('elementName'), the value is empty -
so the form is completely unusable.
Also, when I try to validate the form using $form->validate(), the
script throws:
> Call to undefined function: validateregex() in
> c:\Inetpub\php422\pear\HTML_OOH_Form\elements\form_element_file.php
> on line 136
It doesn´t matter if I define a regex validation rule for the fileupload
element or not, it will always try to access validateregex() which
doesn´t seem to exist (at least not in this context).
I´m using the latest CVS version of HTML_OOH_Form ...
Regards,
Markus
--
*21st Media* | Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff | Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1