[daisy] Daisy field definitions

Paul Focke paul at outerthought.org
Thu Dec 14 10:31:26 CST 2006


On Thursday 14 December 2006 12:29, fuckregistration at hushmail.com wrote:
> Hi All,
>
> What I'm trying to do is to create a daisy document that includes a
> table and hash a radio button that allows you to set it on or off
> with.
>
> I embarassed to ask this question. But I went through the
> documentation and the web and didn't see anywhere thta caled out
> how to define a form field of type radio whose labels sould be
> XFoo1 and YFoo2.
>
> Thanks in advance,
>
> JC

A table shouldn't be much of a problem.  

I don't really know what you want to do with the form and radio buttons in the 
document, I'll just make a few comments anyway.  
First of all you can't really go and define forms and form fields as part 
content, even if you go into html editing mode the form tags you define will 
get filtered.  So that is not an option.

Now assuming you just want style some elements of your document as form 
elements then I suggest taking a look at document specific styling.  Here I'm 
thinking of a boolean field that you want depicted as a checkbox or a 
selection list you want displayed as a group of radio buttons.
http://cocoondev.org/daisydocs-1_5/daisywiki/general/g1/26.html

If you really do want to do form stuff and form handeling in daisy I suggest 
taking a look at building a daisy extension.
http://cocoondev.org/daisydocs-1_5/daisywiki/general/60.html

Paul


More information about the daisy mailing list