Get the value of Field and set it into another form

Discussions about Forms Designer for SharePoint 2010.
Locked
agent01
Posts: 2
Joined: Tue May 28, 2013

03 Jul 2013

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..

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

03 Jul 2013

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

agent01
Posts: 2
Joined: Tue May 28, 2013

03 Jul 2013

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..

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

04 Jul 2013

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
});

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest