Set Created by or Owner

Set Created by or Owner

The application I have developed seems to always put created by and owner (in the crm record) as myself, no matter which of my account users are submitting the form.  I have pasted my code below that submits to CRM, and have set the settings to have created by as the person submitted but it still defaults to myself. 

Any ideas?
  1. //create the CRM vs Creator fields map to push data to the CRM module.
  2. myFieldMap = Map();
  3. //add values to the map. CRM fields first and then Creator fields ( without the quotes ). Creator field’s deluge name is used here. 
  4. myFieldMap = Map();
  5. myFieldMap.put("Guest Name",input.Guest_Name);
  6. myFieldMap.put("Guest 2 Name",input.Guest_2_Name);
  7. myFieldMap.put("Tour Vendor",input.Tour_Vendor);
  8. myFieldMap.put("Email",input.Email);
  9. myFieldMap.put("Guest Phone",input.Phone_Number);
  10. myFieldMap.put("Tour Type",input.Tour_Type);
  11. myFieldMap.put("Scheduled Tour Date",input.Scheduled_Tour_Date);
  12. myFieldMap.put("Scheduled Tour Time",input.Scheduled_Tour_Time);
  13. myFieldMap.put("Promised Gifts",input.Promised_Gifts);
  14. myFieldMap.put("Gift Notes",input.Gift_Notes);
  15. myFieldMap.put("Deposit",input.Deposit);
  16. myFieldMap.put("Refundable Deposit",input.Refundable_Deposit);
  17. myFieldMap.put("Refund Amount",input.Refund_Amount);
  18. //function to push data to CRM
  19. response = zoho.crm.create("CustomModule2",myFieldMap);