I am having an issue when using the displayFormat: "none"
with SPDisplayRelatedInfo
.
My plan is to populate fields on the new and edit forms with the data from the selected lookup item.
When I set displayFormat to "list" or "table" it's working. The little div is inserted in the form and presents the "related info".
I am using the completefunc
option and want to pass the data into a function so I can populate the appropriate fields.
But no matter what the xData and Status are undefined. I read somewhere setting the displayFormat to "none" and passing the data to the completefunc would be the way to go but I'm having no luck with that.
Any insight is appreciated.