title: Dynamic Data Binding?
body: <p>I have several fields on my Notes Document</p>
  
  <p>FieldA_1
  FieldA_2
  FieldA_3
  FieldA_4</p>
  
  <p>FieldB_1
  FieldB_2
  FieldB_3
  FieldB_4</p>
  
  <p>On a composite control I have 2 edit boxes
  FieldA
  FieldB</p>
  
  <p>I have a compositeData.ATM_NUM defined a custom control that is a drop down list with the values 1,2,3,4.</p>
  
  <p>How do I bind the edit boxes on my control to their corresponding document fields using the composite data available?</p>
  
  <p>For example, I wanted to do something like:
  "FieldA_"+ compositeData.ATM_NUM.</p>
  
  <p>I tried the javascript solution in this thread:</p>
  
  <p><a href="https://stackoverflow.com/questions/8992506/binding-an-edit-box-within-a-custom-control-to-a-form-field-programatically">Binding an edit box within a custom control to a form field programatically</a></p>
  
  <p>But it did not seem to work.</p>