Well, I gave it up. To use -1/0/1 instead.

On Mon, Oct 18, 2010 at 8:41 PM, Hu Hailin <i...@h2l.name> wrote:
> Hi,
>
> ===============
> - type: Radiogroup
>  name: invitation
>  options:
>  - [ ~, 'do nothing']
>  - [ 0, 'refuse']
>  - [ 1, 'accept']
> ===============
>
> I tried to use a nullable db column to store such a status above and I
> have trouble in filling a NULL value from db into form back properly.
> The option whose value is ~( or '' ) will not be set checked="checked".
>
> Any advice or workaround?
>
> Thanks.
> --
> islue
>



-- 
islue

_______________________________________________
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