cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Pre populate another list new form when drop down value changes in current list form

Hi,

I have a list A which contains one drop down and the values are x, y and z. When Y is selected, I need to auto populate the new form from list B then I have to fill list B new form before submitting the list A form. 

Please help me out in achieving this!

Thanks,

Chaithra

Labels: (1)
0 Kudos
Reply
6 Replies
Highlighted
Nintex Newbie

Re: Pre populate another list new form when drop down value changes in current list form

Hi, 

Use a JavaScript Modal Dialog containing a frame where the URL is the "New Item" one of list B.
And let this Modal appearing once you select a certain value from the Drop down.

Reply
Highlighted
Automation Master
Automation Master

Re: Pre populate another list new form when drop down value changes in current list form

Reply
Highlighted
Nintex Newbie

Re: Pre populate another list new form when drop down value changes in current list form

I found out the way to do this. It's working fine now. Thank you for the support!.

Reply
Highlighted
Automation Master
Automation Master

Re: Pre populate another list new form when drop down value changes in current list form

Excellent - can you detail your approach in case others have the same requirement please?

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Pre populate another list new form when drop down value changes in current list form

Let's assume that my drop down ID is MyddlID
NWF$(document).ready(function(){

NWF$("#" +MyddlID).change(function(){
var obj = NWF$('#' + MyddlID + ' option:selected').val()

if(obj=="Y"){
javascript:SP.UI.ModalDialog.showModalDialog({ url:'list B url', title: 'B-New Item' });

}
});
});

And also here I have question: How to hide "Close button on the top-right of the page"?

Reply
Highlighted
Nintex Newbie

Re: Pre populate another list new form when drop down value changes in current list form

Dear ‌,

Please take in consideration freezing the screen behind the Modal Dialog.

Regards,

Reply