Re: Pear QuickForm date element causing problems
| From: | Sam Miller | Date: | Wed, 11 Aug 2004 21:03:41 +0000 |
| Subject: | Re: Pear QuickForm date element causing problems | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14069@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
On Tue, 10 Aug 2004 21:52:03 +0200, Sam Miller <collect@gmx.ch> wrote:Okay, I had my provider reinstall QuickForm. The problem is still the same, so for me there are two different explanations: 1) my provider didn't tell me the truth 2) installed package does not work properly I'm tending to say it's 1)... So is there another possibility to set the default values of a date field? Since I have the empty options in my list, the only thing I'd need to do is set them as default. Is there a function that can do that for me? Sam[snip]It may also be HTML_Common.Well, that code works for me and I assume Bertrand. It must be something on your end. Are you using the normal renderer? Have you modified QuickForm in any way?[snip] I'm using the default renderer. As far as I know I have not modified QuickForm in any way. Since the code Bertrand posted did not work as it should, it must be something wrong with the QuickForm installed on the server. (His code was pretty basic and if _that_ doesn't work... well... everything else won't work either)So I guess I have to force my provider to install a newer version of QuickForm. I hope that helps.If they refuse (or are slow) you can always have your own copy of PEAR packages. Just add a .htaccess file with: php_value include_path /home/user/path/to/pearThanks a lot for your input, I really apreciate it! Sam -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php