Page 1 of 1
Get the value of Field and set it into another form
Posted: 03 Jul 2013
by agent01
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..
Re: Get the value of Field and set it into another form
Posted: 03 Jul 2013
by Dmitry Kozlov
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/share ... 29901.aspx
Re: Get the value of Field and set it into another form
Posted: 03 Jul 2013
by agent01
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..
Re: Get the value of Field and set it into another form
Posted: 04 Jul 2013
by Dmitry Kozlov
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:
Code: Select all
fd.onsubmit(function(){
//Put the code that updates related list items here
});