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

Get all list item ids created by same person into form in javascript

Jump to solution

I have a button on my form, which copies fields from previous list item created by same person. Right now I have to specify the ID of the list item, which is inconvenient. Is it possible to iterate in javascript through every item on the list and select let's say 5 recent items? Then the user would select one of them from dropdown list instead of typing the id manually. 

Labels: (1)
Tags (2)
0 Kudos
Reply
4 Replies
Highlighted
Nintex Newbie

Re: Get all list item ids created by same person into form in javascript

Jump to solution

When you say a button on your form, are you doing this during edit mode? To accomplish this on the form itself would require javascript as that functionality is not native to the form platform itself. 

 

You could also have them select the person and then submit the form and use a workflow to move those items over quite easily. Actually would be easier than trying to do this within the form itself. 

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Get all list item ids created by same person into form in javascript

Jump to solution

I use JavaScript, so after clicking the button all necessary fields are copied automaticaly. It should be done on new or edit mode. Workflow is not an option, because I need those fields to be filled before saving and submiting the form. 

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: Get all list item ids created by same person into form in javascript

Jump to solution

you can add a lookup control on the form that quries from the same list the form is designed for, and set up a filter to filter by current user

 

i.jpg

 

 

View solution in original post

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Get all list item ids created by same person into form in javascript

Jump to solution

Thank you! This is exactly what I was looking for. I completely forgot that I can use a List Lookup control directly from the form. 

0 Kudos
Reply