Changeset 84 in text-formbuilder for trunk/lib/Text/FormBuilder
- Timestamp:
- 05/11/05 14:28:57 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Text/FormBuilder/grammar
r81 r84 19 19 @options, 20 20 $required, 21 $multiple, 21 22 $list_var, 22 23 $size, … … 187 188 188 189 # this is the real heart of the thing 189 field: name field_size(?) growable(?) label(?) hint(?) type(?) other(?) default(?) option_list(?) validate(?) comment(?)190 field: name field_size(?) growable(?) label(?) hint(?) type(?) multi(?) other(?) default(?) option_list(?) validate(?) comment(?) 190 191 { 191 192 my $field = { … … 194 195 label => $item{'label(?)'}[0], 195 196 comment => $item{'hint(?)'}[0], 197 multiple => $item{'multi(?)'}[0], 196 198 type => $item{'type(?)'}[0], 197 199 other => $item{'other(?)'}[0], … … 218 220 $type = undef; 219 221 $required = undef; 222 $multiple = undef; 220 223 $list_var = undef; 221 224 $size = undef; … … 254 257 builtin_field: /textarea|text|password|file|checkbox|radio|select|hidden|static/ 255 258 259 multi: '*' { 1 } 260 256 261 other: '+' 'other' { 1 } 257 262
Note: See TracChangeset
for help on using the changeset viewer.