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: Added a fix in 2014.01ALPHA4. The fix uses the comments at the top of the td.ms-formbody element to find the select. ``` javascript // Simple, filding based on the comment text at the top of the td.ms-formbody where the select's title begins with DisplayName - needed for required columns where title="DisplayName Required Field" // Example: SP2010 <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="Region Required Field"> } else if ((columnObj.Obj = findFormField(opt.displayName).find("select[title^='" + opt.displayName + "']")).length === 1) { columnObj.Type = dropdownType.simple; ```

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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