Page 1 of 1

Form With Related Items

Posted: 05 Jun 2013
by chrisdmontgomery
I was wondering if this was possible to do in SP 2010. I tried with no success.

http://spform.com/forms-designer- ... ist-part-1

Thanks

Chris

Re: Form With Related Items

Posted: 05 Jun 2013
by Dmitry Kozlov
Sure, you can add a list of related items into a tab by following the same steps as for SharePoint 2013. Which step have you got trouble in?

Re: Form With Related Items

Posted: 05 Jun 2013
by chrisdmontgomery
I added the web part and the javascript. However, its not putting the web part under the tab.

var wp0 = $('div[id^="MSOZoneCell_WebPartWPQ2"]:eq(0)');

wp0.detach().appendTo('#fd_tabcontrol-0-tab-2');

Only change I made was WPQ2 I added the two after looking at the source on my page. I thought that might have been it. I also tried tab-2 and tab-4. I added addtional tabs but no luck.

Thanks

Chris

Re: Form With Related Items

Posted: 06 Jun 2013
by Dmitry Kozlov
Please, send us html-source of your form-page:

Open your form in the browser
Open its source
Send it to support@spform.com

Thank you.

Re: Form With Related Items

Posted: 06 Jun 2013
by Dmitry Kozlov
Thank you for your message. You're right, SharePoint 2010 has a little different markup. So, please, try the following script instead:

Code: Select all

var wp0 = $('td[id^="MSOZoneCell_WebPartWPQ"]:eq(0)');
wp0.children(':first').detach().appendTo('#fd_tabcontrol-0-tab-2');