Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
432 views

Validation for hidden fields

I have a small request. I am validating few fields in pre save function through j query. The problem that i am stuck on is that, i have a drop down named = "Is the Process flow document available?" ...
jayant khushalani's user avatar
2 votes
1 answer
5k views

People Picker Validation

I want to perform client side validation on people picker where in if the people picker is empty just to show an alert saying it is required. I am aware of java script and j query so if you guys can ...
jayant khushalani's user avatar
2 votes
1 answer
1k views

Remove validation on hidden fields

I am stuck on one condition where in I am trying to check if drop down value = select a value then show alert and then again if it is yes it makes two more columns visible. But there is a condition ...
jayant khushalani's user avatar
3 votes
1 answer
638 views

How to customise date picker validation in sharepoint

In sharepoint, the date picker function has a limit such that if you pick a date beyond what the system gives, it produces the following error: "You must specify a valid date within the range of 01....
sarahtankr's user avatar
0 votes
1 answer
471 views

Validate/verify the SharePoint site URL (site collection URL and site(web) URL) are correct without using the SharePoint's sp.js and sp.runtime.js

The main objective is to verify that the given SharePoint site URL (which is read through user input) needs to be verified and validated as correct URL before proceeding further. the verification ...
Ashwin Kheta's user avatar
1 vote
1 answer
717 views

SharePoint 2013 Custom List - Conditional Validation

I have a SharePoint 2013 Custom list. I want to do custom validation WITHOUT making the SharePoint list columns required. Simply put, when a user selects a certain option from a dropdown, the next ...
Jake M.'s user avatar
  • 21
2 votes
1 answer
751 views

Form Validation fires even If I click outside content editor web part

I am trying to create custom content Editor webpart with HTML and JS code. I am simply adding item in list using REST API. I've given validation to textboxes using JQuery. Here is the code: JS $(...
Hardik Gondalia's user avatar
1 vote
1 answer
1k views

How can I use JQuery to conditionally require the people picker field on edit form?

Environment: SharePoint 2013 foundation I'd like to make/validate the People Picker field required conditionally in the edit form of a task list. If the task status is changed to Completed, I want ...
user6530652's user avatar
3 votes
5 answers
11k views

Getting Value of Radio Button on SharePoint 2013 Edit Form using jQuery

EDIT: updated verbiage to reflect this is specifically a Radio Button choice field. The below script works when the choice is set to display in a drop down. I'd like to be able to do the equivalent ...
Nate's user avatar
  • 744
0 votes
1 answer
240 views

Can we add client side validation to workflow initiation form (without infopath)?

We are using SP2013 standard so Infopath form service is not available. By using SharePoint Designer 2013, I copied and renamed the OOB workflow "Approval - SharePoint 2010" to build a new workflow. ...
Mark L's user avatar
  • 4,075
2 votes
1 answer
2k views

How to validate a sum of percentage from multiple fields before creating a new item?

Here's the situation that I'm facing. I have three (number-type) fields which should add up to 100%. What I want is to be able to dynamically validate that after I input the number into the 3 fields....
Naiht's user avatar
  • 23
1 vote
1 answer
1k views

Custom validation in newform/editform using jquery

I have an "Issue list" and I am writing some jquery code to validate some fields based on the status of the issue. I am using PreSaveAction() function to make the validation, but I see that the fields ...
Imir Hoxha's user avatar
  • 1,895
0 votes
0 answers
1k views

List Form Jquery Save Button (validate, save, redirect) error. Is there anything wrong with our syntax?

We have a custom list form that we are trying to save, validate, and redirect. We can get the button to save and validate, but not redirect. And vice versa. We have tried several variations on the ...
Mike Adams's user avatar
2 votes
3 answers
29k views

How to get Relative Url using Jquery in Sharepoint Site

In my SharePoint site first I want to get Host URL(/Site URL ),and user would enter Relative URL in TextBox. Then I want to append that relative URL with Host URL Using jquery and need to check that ...
Akshay Dattatray Nangare's user avatar
0 votes
1 answer
390 views

Change in jQuery code from SharePoint 2010 to SharePoint 2013

I'm migrating a SharePoint 2010 VS project to SharePoint 2013. The project has custom list definitions and custom add, edit and view forms and uses jQuery 1.8.3. In 2010 the following code works fine: ...
Dan's user avatar
  • 1
0 votes
2 answers
137 views

How to Determine if One or More Fields in Custom Edit Form have Validation Errors

So I have a DVWP with an Edit Form. The form uses jQuery tabs to organize the fields for the different roles that edit the item. I would like to show a message at the top of the form if at least one ...
Arknev's user avatar
  • 333
5 votes
1 answer
5k views

Form validate - New item

I have a list on Sharepoint, and when some user add a New item, I need to validate fields... I would like something in jQuery... something that if the field is not validated, it shows a msg error and ...
Lugarini's user avatar
  • 339
0 votes
2 answers
3k views

Client side date validation in SharePoint List form using jquery

I want a validation for no past dates i.e something like StartDate>=Today Is this possible can anyone help? Thanks...
luckydeveloper's user avatar
1 vote
0 answers
342 views

Updating a value of any item in a list based on a selection of bool for one item - jQuery

So I hope this makes sense. I have a column within a list that I want to use as an active flag. There are 5 possible categories and for each category, there can only be one active value. So I need ...
Justin's user avatar
  • 1,361