i need to set the field value of current entity from where i am opening the new form to other entity,and set that field value to opened form field. please suggest me how can i acheive that by using Java script.