Questions tagged [jquery]
An open-source, cross-platform JavaScript library, now endorsed by Microsoft
2,050 questions
0
votes
0
answers
25
views
Limit the SharePoint online autolookup query to available values
My SharePoint Online auto-lookup function, implemented with a script, is working as expected. However, I now need to address a limitation: users can currently enter free-text instead of being ...
1
vote
1
answer
65
views
SP2013/2019: JQuery to Count Date Field Changes
I need a way to track the number of times [ExtensionDate], a date field changes in a SP List. I would love JQuery if possible. The count should be stored in a number field [ExtensionDateChanges]
I ...
0
votes
1
answer
46
views
SP2019 & jQuery: On Choice Selection, Concatenate Date + Choice-made + Modified By, Send to Mult Lines of Text Field
One of the most frequent questions I get on a SP2019 Classic List is "what, when, who":
What Choice option was selected, by whom, and when?
Using [MyChoice] choice field and [MyMultiLines] ...
1
vote
1
answer
104
views
SP2019: Freeze Column 1 when scrolling right
I am looking for a way, in a SP2019 List, to freeze Column 1 (or Columns 1, 2, 3) when scrolling to the right. I do not have access to SPD. JQuery would be great.
Thank you!
1
vote
1
answer
31
views
SP2019: Color Col-A value if Col-A value changes AND Modified By email equals one of four emails
In a SP2019 List, I need the [Status] column value background-color to be Amber based on two conditions:
1.) if the [Status] value changes AND
2.) if the [Modified By] email address equals one of four ...
0
votes
1
answer
82
views
Conditionally Show Hide 3 fields not working for others
I am having an odd experience. While using the following code in a SP2016 Script Editor above an EditForm, the functionality works for me in Chrome, but does not work for other users using Chrome and ...
0
votes
2
answers
47
views
Conditionally Show Hide 3 fields if first single line of text field equals "Technology"
(SharePoint 2013/2019)
While most of the Conditional Show/Hide jQuery solutions are triggered by a change in a Choice field, I am looking for jQuery that shows or hides three fields in a SharePoint ...
0
votes
1
answer
188
views
Open another sharepoint page onclick on Modal PopUp
I would like to open another page by click on the button from Landing page, I have followed the below suggestion. Looks like it only works on 2013 but not on sharepoint online.
I am adding this script ...
1
vote
1
answer
76
views
SP2019: jQuery to Disable Mult Lines of Text Field_Plain Text
I have tried almost every permutation of jQuery to disable a multi line text field (plain text) named [Client]. Same internal name as display name. The 4 lines below have been tried one a time with ...
0
votes
0
answers
55
views
How to show column based on the certain radio button value selected
our company just upgraded our Classic SharePoint to 2016 and currently I'm working on the SharePoint workflow for approval. I have 2 questions?
1.) Post upgrade, I noticed all of the scripts that ...
1
vote
1
answer
161
views
Change the text color only on specific numbers in column
A little help please! I created a SharePoint list with company contacts and I want in column 'length of service' the numbers 5, 10, 15, 20 etc. years to be marked a different color, for example red.
1
vote
1
answer
68
views
Update File Name with jQuery in Edit Form
I am trying to change the name of a file in a list edit form depending on a value selected in a lookup column.
nCName = $("input[title^='Name']")
function UpdateDocumentName(selectedOption){...
0
votes
1
answer
196
views
Using Script Editor and/or Content Editor Web Parts Alongside an Infopath Form?
First some info about the system I'm working in:
Sharepoint Server 2013 on-premise
Sharepoint Designer 2013
Infopath Designer
No access to Power Apps
I'm new to Sharepoint. I also know very, very ...
0
votes
0
answers
54
views
Jquery Encryption for SharePoint list view for all the fields in Email column, where as it is getting applied for one row in Title column as well
I'm using a below script in SharePoint all items aspx for Encrypting email column values, where it is also getting applied to one row in Title column. how to achieve this by not to encrypt the first ...
0
votes
1
answer
2k
views
Add user to SharePoint group using rest api not working
I am trying to add a user to the SharePoint group from the REST API in SharePoint 2013.
It says successfully added but never adds the user
function addUserToGroup(userloginname) {
var ...