[dev] Form.php and enum fields

Marko marko at oblo.com
Thu Jan 9 06:36:40 PST 2003


you mean if you submit with the selection box showing "Select:" you get "invalid
data" and a message "field is required"?

i don't with this form. it gives me a "valid data" and sets the enum variable to
'', which it shouldn't.

i'll look into it some more.

m.


> I get no "field is required" problems with this code:
> 
> <?php
> 
> define('HORDE_BASE', '/var/www/horde');
> require_once HORDE_BASE . '/lib/Form.php';
> require_once HORDE_BASE . '/lib/Form/Renderer.php';


More information about the dev mailing list