Using SPDisplayRelatedInfo with input field

May 21, 2012 at 7:41 AM


Thanks a lot for this library, it's really awesome ! I just need a few help to get my input field working.

My problem :

SPDisplayRelatedInfo doesn't work with my input field, but it's working well with a classical dropdown list. The code is exactly the same, but for the input, the completefunc is called only one time, at the loading of the page but for the dropdown, the complete func is called each time a value is filled.

For information, I have the name of the relatedColumns, but the data isn't loading...

My code :

$().SPServices.SPDisplayRelatedInfo ({       
			columnName: "Montant", 
			relatedList: "SQL_opp",
			relatedListColumn: "Document_NO",
			relatedColumns: ["DESCRIPTION", "Phase"],
			displayFormat: "table",
			headerCSSClass: "ms-vh2",
			rowCSSClass: "ms-vb",
			numChars: 0,
			completefunc: function() {
			alert("function input ok");
			debug: true

Do you have any idea why it's not working for my input ?

May 22, 2012 at 3:00 AM

What version of jQuery and SPServices are you using?


May 22, 2012 at 6:01 AM

I am using jQuery 1.7 and .SPServices-0.7.1a.

I have made some tests, and when I click on the dropdown, showRelated function in SPServices is called but not for the input




May 22, 2012 at 11:51 AM


I'll need to take a look at this. I don't recall testing the input variant in a while.