Re: File elements, Client validation and QuickForm

From: Date: Tue, 24 May 2005 17:27:17 +0000
Subject: Re: File elements, Client validation and QuickForm
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19358@lists.php.net to get a copy of this message
I doubt it. The validation you'd want to do would be if it's a valid file, valid filetype, etc. You can't do the first one in JS, by design. You COULD prolly grab the text value of the input element and run some text comparison on it to see if the filename has a valid extension or if a value was entered at all, but I would think that's the extent of your client-side validation. matte - matte@arubanetworks.com webmonkey » arubanetworks.com Dan Rossi wrote:
A really stupid question but can Quickform do clientside validation for file elements ? I gave it a try and doesnt look like it ;)


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