From https://spservices.codeplex.com/discussions/528533
I just installed the update on our Dev box. Here is what a required select now looks like:
```
<td width="190px" valign="top" class="ms-formlabel" >
<H3 class="ms-standardheader">
<nobr>Guideline<span class="ms-formvalidation"> *</span></nobr></H3>
</td>
<td valign="top" class="ms-formbody" >
<span dir="none">
<select name="ctl00$m$g_308135f8_3f59_4d67_b5f8_c26776c498b7$ff51$ctl00$Lookup" id="ctl00_m_g_308135f8_3f59_4d67_b5f8_c26776c498b7_ff51_ctl00_Lookup" title="Guideline Required Field">
</select>
<br/>
</span>
</td>
```
I have not tested SPServices yet but have ran into issues with other plugins.
Comments: So, I know you have this marked as resolved, but it doesn't seem to be resolved to me. I did some more digging today. Our test server has the Service Pack 2 update. Your production server does not. Everything works on production. On test, using the latest download (jquery.SPServices-2014.01.js), I'm running the following SpServices calls: ``` // Ensure that this stays a simple dropdown $().SPServices.SPComplexToSimpleDropdown({ columnName: "Related Grant", completefunc: null, debug: false }); //Filter Grants $().SPServices.SPFilterDropdown({ relationshipList: "Report of Grant Funds", relationshipListColumn: "Title", relationshipListSortColumn: "ID", columnName: "Related Grant", CAMLQuery: CAMLQuery, completefunc: checkGrants, debug: true }); ``` I've added a bunch of debugging to spServices to see where it's failing. In this function: $.fn.SPServices.SPDropdownCtl It's returning columnObj.Type = null; So, it drops into the last ditch effort, and in there, it can't find the fieldContainer. I'm using custom forms, so the comment isn't there by default. In order to make it work I have to add: ``` <xsl:comment> FieldName="Related Grant" FieldInternalName="RelatedGrant" FieldType="SPFieldLookup"</xsl:comment> ``` This is what renders: ``` <span dir="none"><select name="ctl00$m$g_9015485b_cdfd_48e1_a53f_0362077c0b09$ff41$ctl00$Lookup" id="ctl00_m_g_9015485b_cdfd_48e1_a53f_0362077c0b09_ff41_ctl00_Lookup" title="Related Grant Required Field"> <option value="67">alsjdflj</option> </select><br/></span> ```
I just installed the update on our Dev box. Here is what a required select now looks like:
```
<td width="190px" valign="top" class="ms-formlabel" >
<H3 class="ms-standardheader">
<nobr>Guideline<span class="ms-formvalidation"> *</span></nobr></H3>
</td>
<td valign="top" class="ms-formbody" >
<span dir="none">
<select name="ctl00$m$g_308135f8_3f59_4d67_b5f8_c26776c498b7$ff51$ctl00$Lookup" id="ctl00_m_g_308135f8_3f59_4d67_b5f8_c26776c498b7_ff51_ctl00_Lookup" title="Guideline Required Field">
</select>
<br/>
</span>
</td>
```
I have not tested SPServices yet but have ran into issues with other plugins.
Comments: So, I know you have this marked as resolved, but it doesn't seem to be resolved to me. I did some more digging today. Our test server has the Service Pack 2 update. Your production server does not. Everything works on production. On test, using the latest download (jquery.SPServices-2014.01.js), I'm running the following SpServices calls: ``` // Ensure that this stays a simple dropdown $().SPServices.SPComplexToSimpleDropdown({ columnName: "Related Grant", completefunc: null, debug: false }); //Filter Grants $().SPServices.SPFilterDropdown({ relationshipList: "Report of Grant Funds", relationshipListColumn: "Title", relationshipListSortColumn: "ID", columnName: "Related Grant", CAMLQuery: CAMLQuery, completefunc: checkGrants, debug: true }); ``` I've added a bunch of debugging to spServices to see where it's failing. In this function: $.fn.SPServices.SPDropdownCtl It's returning columnObj.Type = null; So, it drops into the last ditch effort, and in there, it can't find the fieldContainer. I'm using custom forms, so the comment isn't there by default. In order to make it work I have to add: ``` <xsl:comment> FieldName="Related Grant" FieldInternalName="RelatedGrant" FieldType="SPFieldLookup"</xsl:comment> ``` This is what renders: ``` <span dir="none"><select name="ctl00$m$g_9015485b_cdfd_48e1_a53f_0362077c0b09$ff41$ctl00$Lookup" id="ctl00_m_g_9015485b_cdfd_48e1_a53f_0362077c0b09_ff41_ctl00_Lookup" title="Related Grant Required Field"> <option value="67">alsjdflj</option> </select><br/></span> ```