Hi Alex,
> Actually, the 'set>' and 'val>' methods are also not needed.
I am not sure about that, because if you use +Radio inside a chart,
the selected value will be repeated as many times as there are
radiobuttons in a group. Keeping the val NIL for all except the first
radio button avoids this.
This is how I use it:
(<p> NIL ,"Enrolment form:"
(let Fname (blob (; *ID eve) 'ftem)
(when (info Fname)
(in Fname
(gui '(+E/R +Fmt +Chart)
'(fdat : home obj)
'((Fdat)
(let FvarM (in (blob (; *ID eve) 'ftem) (markupVars T))
(fdat2chart Fdat FvarM)))
'((Lst)
(let FvarM (in (blob (; *ID eve) 'ftem) (markupVars T))
(chart2fdat Lst FvarM)))
1)
(<div> "enrform"
(htMarkup NIL (; *ID fdat)))))))
htMarkup actually creates the gui components, e.g. (gui 1 '(+Radio) N V).
Cheers,
Tomas
--
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]