Hi,

I can't find a working syntax for putting the inflator into the default_args section.

I'd like to have something like...

default_args:
 elements:
   deflator:
     Strftime:
       strftime: '%m/%d/%Y'
   inflator:
     DateTime:
       parser:
         strptime: '%m/%d/%Y'


so that within the form if I have a field with

 - type: Text
   name: date_hepb_1
   maxlength: 10
   inflators:
     - type: DateTime
   deflator:
     - type: Strftime

the inflator gets the default parser.

The deflator part is working, but I can't get the inflator part to, I've tried a few different versions but none seem to work.

Thanks for any insight!
Steve

--
Steve Rippl
Technology Director
Woodland Public Schools
360 225 9451 x326


_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to