3.2.0

Find input by name.

I have a form with multible inputs, where i have the names of inputs, i have tried document.getElementById("field1").setControlText(text), but the element don't know the setControlText, i have tested that the found element is the correct one by document.getElementById("field1").visibility='hidden', and the AW.input dissaperes from screen.

Is there a way i can do above when i only have the name.

Flaffer
July 3,
There is an internal function AW.object() which returns reference to the AW object by its id.

var obj = AW.object(id);
Alex (ActiveWidgets)
July 3,
Thanks it worked.
Flaffer
July 3,

This topic is archived.

See also:


Back to support forum