Changeset 68 in text-formbuilder for trunk/lib/Text/FormBuilder.pm


Ignore:
Timestamp:
03/14/05 14:22:20 (19 years ago)
Author:
peichman
Message:

BUGFIX: option list items had an inadvertant minimum length of 2
cleaned up 'required' option handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Text/FormBuilder.pm

    r67 r68  
    251251            } 
    252252        } 
    253     }     
    254      
    255     # remove false $$_{required} params because this messes up things at 
    256     # the CGI::FormBuilder::field level; it seems to be marking required 
    257     # based on the existance of a 'required' param, not whether it is 
    258     # true or defined 
    259     # TODO: check if this is still needed 
    260     $$_{required} or delete $$_{required} foreach @{ $self->{form_spec}{fields} }; 
     253    } 
    261254     
    262255    # assign the field names to the sections 
Note: See TracChangeset for help on using the changeset viewer.