Re: CForms - styling "read only" fields

2004-07-23 Thread Derek Hohls
Joerg I will look at fd:output again; but I had problems when it was a "required" field (got errors) As for the form input readonly attribute, please see: http://www.htmlcodetutorial.com/forms/_INPUT_DISABLED.html I quote: "Currently only MSIE recognizes either of these attributes. " and "It's

Re: CForms - styling "read only" fields

2004-07-22 Thread Joerg Heinicke
On 19.07.2004 15:54, Derek Hohls wrote: I was unable to get the fd:output to work... What's the problem with it? What I have done is to add a class styling to the fields I want in the form template, so: To give a "greyed out" effect... it would be really have been better if read-only fields were s

Re: CForms - styling "read only" fields

2004-07-19 Thread Derek Hohls
Marc I was unable to get the fd:output to work... What I have done is to add a class styling to the fields I want in the form template, so: and in the stylesheet: * # A I can then color code the fields as: .readonly { color: sil

Re: CForms - styling "read only" fields

2004-07-19 Thread Marc Portier
why don't you just make them fd:output? and if that is not an option add a with specific attributes you'll act upon note that none of the information specific to the binding will be available to your xslt regards, -marc= Derek Hohls wrote: Hi I am looking for any *simple to implement* suggesti

CForms - styling "read only" fields

2004-07-19 Thread Derek Hohls
Hi I am looking for any *simple to implement* suggestions that will allow me add to styling to those fields that are essentially "read only" (i.e. are specified as direction="load" in the binding file). I was thinking of following something along the lines of the Cocoon samples, where: * = re