title: SDL Tridion 2009 SP1 Custom URL get current field value
body: <p>I am connecting to a Custom URL on a component field which contans the following code</p>
  
  <pre><code>        function SaveAndClose()
          {
              var newValue = new Array();
              newValue[0] = "/feed.ashx?type="+ $("#Type").val() + "&amp;user="+ $("#User").val();
              window.returnValue = newValue;
              self.close();
          }
         document.write("Current Value:");
         document.write(window.dialogArguments.fieldValue);
  </code></pre>
  
  <p>The SaveAndClose Function works perfect and sends the value back to the component, but window.dialogArguments.fieldValue always returns undefined.</p>