0

I have 4 different lists setup by using multiple content lists so end-up with 4 different forms. Is there any way to make one default form for all in a single page and switching them by using maybe a dropdown list?

Please advise

Many thanks in advance

2
  • So you have 4 lists, each with their own new form, and you want a single page to show all 4, but control which one is showing based on a dropdown? Commented May 2, 2013 at 13:11
  • Hi David, yes correct.. Commented May 2, 2013 at 14:44

1 Answer 1

1

This should be feasible using iframes in the same manner SharePoint does. Your dropdown list would need some JavaScript to handle showing and hiding the iframes, and each iframe might look something like

<iframe class="ms-dlgFrame" id="form1" src="http://site/lists/listName/NewForm.aspx?IsDlg=1" frameBorder="0" style="width: 620px; height: 650px;">

That should get you what you need.

5
  • thanks David, is there any easier way like embed the "Current view" dropdown in the form ribbon (pop-up dialog)? currently the "Current view" is not visible in the pop-up dialog and if I access it via "Forms Web Part --> New Form --> Form (Edit) ribbon" I can see the "current view" but it is grayed out. Commented May 3, 2013 at 13:06
  • The Current View is only available for list views. I'm not sure I follow where you're seeing it. Commented May 3, 2013 at 13:24
  • Hi David, thank you for reply.. it is similar like this blog.concurrency.com/wp-content/uploads/2012/01/… cheers Commented May 3, 2013 at 15:33
  • Ah yes. So that is being used to switch views so you can edit the pages accordingly. It's not available elsewhere. Commented May 3, 2013 at 15:50
  • Awesome! Please make sure to mark this question as answered for the benefit of the community. Happy SharePointing! Commented May 13, 2013 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.