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 on one page, two webparts. The top part is the list of submitted forms created from infopath, while the second part is the actual form in the window.

What I would like to do is when I submit a form, the page refreshes and shows up in the webpart above. However, when I click on the form at the list in the upper portion, I would like the form to be opened in the lower web part. Is that possible?

share|improve this question

1 Answer 1

Usually we add a Calculated field in the list and write HTML in it to call a JavaScript method on click of link and place the JavaScript in a hidden Content Editor Web Part...

You can use TextToHtml on blog.pathtosharepoint.. to convert the Calculated Field text into HTML content...

In JavaScript you can call a Modal Dialog where you redirect to a page which contains form, so once the Modal Dialog is submitted you can refresh the parent page and the list will show the added results...

JavaScript for Modal Dialog can be:

function test() { 
        url: "/Lists/ListName/NewForm.aspx", 
        title: "Add item", 
        allowMaximize: true, 
        showClose: true, 
        width: 800, 
        height: 600, 
        dialogReturnValueCallback: refreshCallback 

function silentCallback(dialogResult, returnValue) { 

function refreshCallback(dialogResult, returnValue) { 
share|improve this answer

Your Answer


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.