Re: [html-formfu] Taking default value when not supplied in query (plaintext)

2010-10-19 Thread Carl Franks
Hi, > While the plugin approach works for many field types, it doesn't work > for others, like this Date element: >        retain_default: 1 That's because the Date element doesn't have a default() set. The plugin would need to be changed to support elements that have a retain_default() method.

[html-formfu] Re: Anyway to handle undef/0/1 Radiogroup

2010-10-19 Thread Hu Hailin
Well, I gave it up. To use -1/0/1 instead. On Mon, Oct 18, 2010 at 8:41 PM, Hu Hailin wrote: > Hi, > > === > - type: Radiogroup >  name: invitation >  options: >  - [ ~, 'do nothing'] >  - [ 0, 'refuse'] >  - [ 1, 'accept'] > === > > I tried to use a nullable db column to