Tag Info

New answers tagged

1

You should keep the data in a single list and create separate views for different teams. List views can be created by opening the List Settings and create view.


1

JavaScript will not work if you set pagination on the listview. Instead I will suggest to use a Calculated column. Assume, Column "SUID" has the value ";708089113=0184?" Create a calculated column and set the following formula... =RIGHT(LEFT(SUID,INT(FIND("=",SUID)-1)),LEN(LEFT(SUID,INT(FIND("=",SUID)-1)))-1) This will give you that value 708089113. ...


0

This is really simple in jQuery if you have that available, make sure this in an AdditionalPageHead control <script type="text/javascript"> $(document).ready(function(){ $("input[Title='SUID']").change(function(){ var elm = this.val(); var val = elm.split("=")[1]; //do other stuff }); }); </script> jQuery is really usefuly in ...


0

Try to attach the handler on window.onload event. Place following javascript under AdditionalPageHead <script type="text/javascript"> window.onload = function() { var elm = document.getElementById('ctl00_m_g_0842343c_4653_49c3_b9ec_28682a09dff0_ff01_ctl00_ctl00_TextField'); elm.addEventListener('change', function (e) { var s = ...


0

I will go for JSLink. Try below https://code.msdn.microsoft.com/office/Client-side-rendering-code-80cc9b05


0

Isn't it possible to access the current value of a field in the formula? That way I can see if the value have been changed and only validate if it have been changed. (I'm 100% new to sharepoint)


0

You are describing a relational database scenario. Master/slave or Parent/child. This cannot easily be done with out of the box components. You need two lists. One has the jobs, and another has the assignments for each job. SharePoint does not support this out of the box. You need to get creative. Mark Rackley has a few approaches for SharePoint 2010 and ...


3

Customize the Edit form (either through SP Designer) or add Content Editor webpart (SP 2010) or Script Editor webpart(SP2013). Add JavaScript code to perform validation. Use SharePoint PreSaveAction() Javascript function. When an item is saved SharePoint calls PreSaveAction(). Here you need to perform the validation. See this for more info: ...


2

Using Event Receiver The only fool proof option is to create an event receiver and handle ItemUpdating handler. Here you have Before and After properties. You can use that to compare the previous values and new values. If validation fails you can cancel the update process and redirect user to an error page. Using JavaScript This option people can bypass ...



Top 50 recent answers are included