Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
    
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? –  David Lozzi May 2 '13 at 13:11
    
Hi David, yes correct.. –  Claudia Benete May 2 '13 at 14:44

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

share|improve this answer
    
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. –  Claudia Benete May 3 '13 at 13:06
    
The Current View is only available for list views. I'm not sure I follow where you're seeing it. –  David Lozzi May 3 '13 at 13:24
    
Hi David, thank you for reply.. it is similar like this blog.concurrency.com/wp-content/uploads/2012/01/… cheers –  Claudia Benete May 3 '13 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. –  David Lozzi May 3 '13 at 15:50
    
thanks David.. solved :) –  Claudia Benete May 9 '13 at 17:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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