Get the value of Field and set it into another form
Posted by agent01 - Jul 3 ’13 at 09:47
Hi Guys,
i have a 2 list i used the first one to input a data on the field my problem was how can i able to get the value of my first field then copy into my second list as read only, Thanks in Advance..
-
DmitryAdminMember for: 10 years 9 months 16 days
As I understood, you wish to link two lists and display additional fields belonging to the first list in the second list as read only. You have to use Lookup column with additional fields. Please, go to your second list settings, add lookup column, configure it to get data from the first list and add additional fields. Here is detailed description: http://office.microsoft.com/en-us/sharepoint-server-help/create-list-relationships-by-using-unique-and-lookup-columns-HA101729901.aspx
-
agent01MemberMember for: 9 years 8 months 23 days
Hi sir
Thank you so much for your answer i know it will help me a lot, by the way can i make it thruogh the use of Java script? using on-Load or Onclick? please help thanks..
-
DmitryAdminMember for: 10 years 9 months 16 days
[#2]: Hello,
I do not exactly understand why you wish to achieve this goal with JavaScript, but you can. You can update related list items with SPUpdateMultipleListItems of SPServices when the form is submitted:
fd.onsubmit(function(){ //Put the code that updates related list items here });