To set the value of a callout element in a DCT form froma perl script which opens a child window, I have the following code. Here $elementName is the name of the callout element.function set_datacapture_item_value(){var textElement = top.file.document.getElementById("file_path").value;var calloutForm = 'parent.' + '$formName' ; for (i =0 ;i < calloutForm.elements.length ;i++) { if (calloutForm.elements.name =='$elementName') {// Populate the text box element in the parent windows form with the value // selected in the browser. calloutForm.elements.value = textElement; calloutElementFound =true; break;}}top.window.close();return true;}What I want to know is that is there any way I can avoid looping through all the elements of the form and then set the value and Instead directly set the value of the DCT form element.Any pointers will be highly appreciated.regards,Mukund.