cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stewart, Gary" <>
Subject CForms: Invisible Labels
Date Thu, 23 Mar 2006 13:55:33 GMT
I've got a form with an invisible item and a radio box that will set it to active. It works
fine except the label doesn't appear. The definition looks something like:

(On the widget):


(On the activating widget):

  var dod_widget = event.source.parent.lookupWidget("dod");
  if(event.source.value == "0")
	 dod_widget.value = "";
   else //1

Is there anything else I need to set to make the label appear? I've tried using the column
group layout for it and just "manually" having the label in the form but neither seem to show
the label when the widget becomes active.



The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only. If you 
have received this message in error or there are any problems 
please notify the originator immediately. The unauthorised use, 
disclosure, copying or alteration of this message is 
strictly forbidden.

If you work for NHS Lothian and wish to have help to stop smoking, support is available by
contacting or 0131 537 9494  - internal 49494.  For anyone
else living/working in Lothian, please contact 0800 848484 for your nearest NHS stop smoking

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message