Skip to main content

So, I have been working on this, however I cannot seem to find an answer that does not involve very complicated operations using JS, XML, etc.

I have two very simple lists in my SharePoint site, one is LEASES and the second is STATUSES. The first list just contains the overall list of leases in the company while the second list just hold the different status that a place can have at a given time. The Nintex form is running on the LEASES list.

Like I said it is very simple, I have one field which is the lease_id, I am bringing the status from the second list so it is only a lookup field and the third is a comment field which is brought in from the document site content type.

In my form I have three controls that relate to these fields, and when the user creates or edits a lease, the lease_id must already exist in the list to ir to work, this is because I don't want the users to be creating leases that don't actually exist in the company. This is achieved with a calculated value that looks for the input lease_id, if it is found then it should return the values for the status and the comments. If it is not found then an error message is displayed.

I am able to bring all these data by using calculated values, however that's not really useful because what I want is being able to edit those values but I really don't know how to accomplish this. The calculated values don't let me link them to the correct controls, I'm assuming because the lookup comes from another list and the same for the comments.

Perhaps the following picture will better illustrate my question.

I hope you guys can give me a hand with this one.

Best regards,

so if I understood your scenario correctly, you do not want your users create new leases (items) at all.

you just want them to work on/update existing leases/items.

and I guess your confusions comes from the fact that you try to design NEW form where you want to validate whether a lease/item already exists or not.

so I would say you do not need to bother with validation and NEW form at all. your users should only use EDIT form. within the EDIT form use regular controls (edit box, lookup,...) connected to respective list fields. they will be automatically populated with actual values from the list and will automatically save changed values back to the list.

to prevent users do not create new leases/item, revoke from them create item permission, leave them just change item (and possible delete item)

or the other option might be that you disable all the controls on the form, and/or submit button in NEW mode.


Marian Hatala‌ Thanks for your reply, it was helpful.I solved it using a look up as the ones showed in my images but then a javascript button that will take me to edit mode.  


Reply