Maybe you can get your code ready like this: to-path compose [input type name (either true ['checked][]) donkey] ;== input/type/name/checked/donkey to-path compose [input type name (either false ['checked][]) donkey] ;== input/type/name/donkey
You might have to wrap all that in another compose block so you can add the arguments, before doing it. Anton. > Refinements and Andrews ML Dialect > > I am using Andrews ML dialect and trying to set a radio button > value based on some data > > > input/type/name/value radio language english "English" > input/type/name/value radio language french "Francais" > > > and to pre-select one of them > > > input/type/name/value radio language english "English" > input/type/name/value/checked radio language french "Francais" > > > but I want to display the value based on information on a database > > e.g. > > input/type/name/value/:checked-if-english radio language > english "English" > input/type/name/value/:checked-if-francais radio language > french "Francais" > > > I don't see how to set these under the ML dialect > > > The problem seems to be that HTML just wants a "Checked" word. It treats > > Checked="Yes" Checked="No" Checked="No Really" as "Checked" > > And I don't know how to vary the refinement value of > checked-if-english to be either "Checked" or null depending on a variable. > > mike m -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
