Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Commented Issue: Title Changed for Required Fields after CU for Sharepoint 2010 [10231]

$
0
0
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: Hi Marc, I ran into issues today to make the simple required dropdown field cascade & was able to narrow down the root cause to the code block Last ditch effort where you are trying to select the dropdown using ``` var fieldSelect = fieldContainer.find("select[title^='" + opt.displayName + "'][id$='$Lookup']"); ``` The code fails because the above line of code looks for "$Lookup" in id attribue; whereas it should be looking for "$Lookup" in name attribute... Once I make that change in the non-minified JS, the lookup now works fine.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>