Update 'parent' Form field


I’ve got a little problem. I open a dhtmlxWindow out of an existing dhtmlxForm. There i click a button and want to set a value to the parent dhtmlxForm.

In a normal Formular something like this works:

window.parent.document.formular.data.elements.field3_1.value = "Test";

I tried the following without any success:

window.parent.myForm.setItemValue("field3_1", "Test");

Can someone help me please with this?
Thank you

Best regards


  1. make sure myForm variable is global (declared in a window scope)
  2. if 1) not works - please provide completed demo or (better) direct link including all corresponding js/css files

Sometimes it’s so easy (wasn’t global) :slight_smile:

Thank you