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

Commented Issue: Cascade Dropdowns Do not work if Fields Are Required [10226]

$
0
0
Cascade Dropdown fails in 2013-01 and 2013-02a if the fields involved in the dropdown are specified as Required fields. The workaround is make the fields not required. The code fails to be able to locate the fields in the DOM and set the Select type if the field is required -- search by Title fails as when a field is required in SharePoint 2013 the field Title is set to "This Field is required".
Comments: Sorry, one more. It'll look something like this: ``` html <tr> <TD class=ms-formlabel vAlign=top width=190 noWrap> <H3 class=ms-standardheader> <NOBR>Navigation SubArea<SPAN class=ms-formvalidation title="This is a required field."> *</SPAN></NOBR> </H3> </TD> <TD class=ms-formbody vAlign=top> <!-- FieldName="Navigation SubArea" FieldInternalName="Navigation_x0020_SubArea" FieldType="SPFieldLookup" --> <SPAN> <SELECT id=ctl00_m_g_7c7eee5f_b3a1_4523_b1cd_cf1c7cba457f_ctl00_ctl05_ctl01_ctl00_ctl00_ctl04_ctl00_Lookup title="Navigation SubArea" name=ctl00$m$g_7c7eee5f_b3a1_4523_b1cd_cf1c7cba457f$ctl00$ctl05$ctl01$ctl00$ctl00$ctl04$ctl00$Lookup> <OPTION selected value=8>Beans</OPTION> <OPTION value=9>Herbs</OPTION> <OPTION value=10>Tomatoes</OPTION> </SELECT> <BR> </SPAN> </TD> </td> </tr> ```

Viewing all articles
Browse latest Browse all 6517

Trending Articles