title: sugarcrm contacts dropdown and javascript
body: <p>I require something like this for my order creation.
  I have the following fields in sugarcrm</p>
  
  <pre><code>name: text field
  contacts :dropdown
  etc ...
  </code></pre>
  
  <p>I need a dropdown of contacts with the fields from primary address from contacts populated here using javascript or ajax when I select a contact from the drop down in the order edit view.
  It should populate all the fields from the contacts to the field listed .The contact fields are :</p>
  
  <pre><code>Primary Address
  Street: 
  City:   
  State:  
  Postal Code:    
  Country:    
  
  Other Address
  Street: 
  City:   
  State:  
  Postal Code:    
  Country:    
  Copy address from left:
  </code></pre>
  
  <p>It should populate to :</p>
  
  <p>Shipping Address
  Street: 
  City:<br>
  State:<br>
  Postal Code:<br>
  Country:    </p>
  
  <p>Billing Address
  Street: 
  City:<br>
  State:<br>
  Postal Code:<br>
  Country:<br>
  Copy address from left:</p>
  
  <p>Is it possible in sugarcrm.   What would be the code.</p>