You can access forms in dynlayers like:
dynlayername.doc.forms['formname'].elementname.value

-- 
Robert Rainwater


On 6/29/2001, 9:52:02 AM EST, Kasper wrote about "[Dynapi-Help] Retrieving the value 
from a textarea in a form in a layer in NS4":

> I have problems retrieving the value from a textarea in a form in a layer in NS4.

> I'm generating some DynLayers in a loop, and in one of these I'm setting the HTML to 
>create an input form (name=greetingContent, element=textarea, field=text_area)

> My setHTML looks like this (very simplified):
> '<form name="greetingContent"><?php $VISIT->printHP(); ?><<textarea name=text_area 
>class=moduleGreetingContent </textarea></form>'

> My loop looks a bit like this:
> for (var cRound=0; cRound<rounds; cRound++){
>   dArr[cRound] = new DynLayer(null,off.x,off.y,off.w,off.h)
  
>   dArr[cRound].setZIndex = 1
  
>   dArr[cRound].Icons = []
  
>   if (dObj.name == 'backtext') {
> dArr[cRound].setHTML(backTextHTML)
> }


> Can anyone give me a clue??

> Yours KAS


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to