Skip to main content
6 events
when toggle format what by license comment
Jul 25, 2018 at 15:06 comment added mdevm Here is how field name appears on display form, as an anchor tag: <a name="SPBookmark_Resubmit_x0020_for_x0020_Approva"></a>
Jul 25, 2018 at 15:01 comment added mdevm Mike, I received true when I ran the below code: function init(){ $('nobr:contains("Resubmit for Approval")').closest('tr').hide(); } ExecuteOrDelayUntilScriptLoaded(init,'sp.js');
Jul 25, 2018 at 3:09 comment added Mike Smith - MCT Did you get an error? Any error in the F12 browser tools? What do you see with: alert( $('nobr:contains("Resubmit for Approval")').closest('tr') )
Jul 25, 2018 at 0:13 comment added mdevm Unfortunately it did not work.
Jul 25, 2018 at 0:13 comment added mdevm I added script editor web part on display form and used this code:: <script type="text/javascript" src="code.jquery.com/jquery-1.12.4.js"></script> <script type="text/javascript"> function init(){ $('nobr:contains("Resubmit for Approval")').closest('tr').hide(); } _spBodyOnLoadFunctionNames.push("init"); </script>
Jul 24, 2018 at 2:38 history answered Mike Smith - MCT CC BY-SA 4.0