Validation checks that the product design satisfies or fits the intended usage (high-level checking), i.e., the software meets the user requirement. This is done through dynamic testing and other forms of review.

learn more… | top users | synonyms

2
votes
1answer
90 views

Show error message when custom Ribbon button is disabled

I have a custom button added to SharePoint Ribbon. And there is EnabledScript attribute of the CommandUIHandler for the button. This attribute contains a javascript code to conditionally ...
1
vote
1answer
27 views

column validation syntax

Trying to compare 4 fields (only if populated) against one another so that no data is duplicated? I've tried something like this but gets too long. =IF(LEN(f1=1), ...
1
vote
1answer
661 views

Issue with deploying webpart in sharepoint 2010

We've created 2 webparts under a single visual studio solution as a farm environment. But after creating the WSP and trying to deploy it to our UAT, we are getting the following error This ...
1
vote
1answer
657 views

Date field validation in SharePoint 2007

I need to limit the Date field in a SharePoint 2007 list so the users can enter date from today and up to year after. How can i do it?
1
vote
1answer
2k views

validating a column based on a value in another column

I have a list which has [Status] and [% Complete] as columns. In the [% Complete] column, I added a validation rule to pass validation when [Status]="Complete" AND [% Complete]=100, otherwise retunr ...
0
votes
1answer
29 views

Site column validation - not allow to use slash / backslash / questionmark / \?

Got a script that creates new site collection based on a template (clone site collection). Problem is that some users type in slash / backslash in the title site column, that makes the url wrong. ...
0
votes
1answer
90 views

Validation on a list using IF, AND and ISBLANK

Im trying to validate my list in SharePoint 2010, so that it will only proceed when a column = xyz and a date column is not empty. I took a stab at the syntax and came up with this. ...
0
votes
1answer
58 views

Unique Validation on Calculated Column

I have 2 columns (first name and last name) in a SharePoint custom list. I have a calculated column called "full name" just concatenates the first and last name columns. Due to requirements, I need ...
0
votes
1answer
40 views

ValidationFormula to include 2 datetime fields

I have a custom list which is created via code. It has 2 fields for start and end date. When I specify the ValidationFormula with the 2 fields, the code errors out. Is there a way to validate the 2 ...
0
votes
1answer
174 views

validate Unique users in 2 columns sharepoint List

I have a list which stores information about new sharepoint site requests. Where i have 2 fields (people and Groups) Primary Site Collection Admin Secondary Site Collection admin Both of this ...
0
votes
1answer
27 views

Document validity in sharepoint 2013

I have some documents which are valid only for 3 months. It consists of some tax rates.Is there any possibility to show that the uploaded document is valid only for 3 months and further it should be ...
0
votes
1answer
64 views

Sharepoint Column Validation

Can someone kindly give a short explanation of how SharePoint column validation works. As I tried to validate one column I didn't know if its working or not coz I wasn't getting any error message or ...
0
votes
1answer
169 views

How to validate SharePoint form field using regular expression?

I am using SharePoint form field. I used regular expression for allowing only numbers not less than zero, but it is allowing alphabets and throwing error if I enter number less than zero. function ...
0
votes
1answer
55 views

List Validation Settings: Ignore case when finding word

I am validating a column to see if it contains blacklisted words. I want to capture the words whether they are upper case or lower case but I cannot seemed to find any solution on the internet. Does ...
0
votes
1answer
22 views

Is it possible to report an activity date and calculate which pay period it falls under in a bi-weekly schedule

I really have no idea how to address this. I am tasked with marking and developing a way to track late entries based on the created date of a list item, the reported activity date(date selector), and ...
0
votes
1answer
43 views

validation in sharepoint

I have a textbox field. I want to put a validator for the textbox that if it contain any special character in name then need to throw exception. Below is the code I used but not working. Please let me ...
0
votes
1answer
35 views

make something a required field depending on value

How can I make a column required depending on another columns value. Is it possible to do this without javascript?
0
votes
1answer
17 views

2 base items change the items in a form

Not really sure how to go about this, I want this vanilla sharepoint if possible. I have two 'Base Items' Player and Manager. These both have different forms. Some columns will be the same but some ...
0
votes
1answer
700 views

attach file in sharepoint list, validation with attachment

Is there anyway to have a field that can link to a document. Like the attach file but an actual column field. If not is there anyway to use the attachment as a validation. So if there is no attachment ...
0
votes
1answer
62 views

Recalculate Calculated Columns with Javascript

Has anyone some sample javascript code to recalculate a calculated column in SharePoint 2013 tasks? This should work on new and edit form and also with the AllItems view. Many thanks.
3
votes
0answers
81 views

How do you validate a column only if it's new item being added?

I recently added validation to a field which works great. =[Arrival Date]>=TODAY()-5 However, I ran into an issue when an employee is editing an older item to update the "Status" but it's not ...
2
votes
0answers
96 views

Person Is Valid SharePoint User [MultiUser]

I have a list with column named 'MultiUser' [DataType: Person or Group, Multiple Selection Yes] I want to validate all the Users in List using SharePoint Designer. I can do this if there is only one ...
2
votes
0answers
67 views

how to validate fields with html5 & sharepoint 2010 webpart?

Recently, I tried to get validated fields with RegularExpressionValidator. When I deployed the webpart, the click event is not working as expected. I hear that RegularExpressionValidator is not ...
1
vote
0answers
19 views

InfoPath list box - How to change the validation message “Only numbers allowed”?

This is SP2010, InfoPath 2010. I've got an InfoPath form. Form has a listbox which is bound to external data. The Value is a number, and the Display is a descriptive list for humans. I have, in the ...
1
vote
0answers
39 views

Sharepoint List Form Javascript get validation results

Is it possible to find out using javascript/jquery if a SharePoint 2013 new/edit list form throws validation errors? Something like: if(page.ValidationFailed) //do something I do not won't to ...
1
vote
0answers
108 views

column validation across survey questions

I want to validate responses to a question in a survey using information from a previous question and I just can't get the survey to take the validation formula. Basically: Q1 = How many hours do ...
1
vote
0answers
99 views

SharePoint Custom Validation with ValidationFormula

I was wondering if there was a way to execute a validation using the SPField.ValidationFormula before you use SPListItem.Update(); I would like to know that a field is not valid before I execute ...
1
vote
0answers
413 views

SP DataTimeControl validation issue (error message does not disappear after choosing correct date)

I write simple WebPart with few asp.net controls. I have problem with validation control and SharePoint date time control. The markup: <SharePoint:DateTimeControl ID="dtc" runat="server" ...
1
vote
0answers
168 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 some ...
1
vote
0answers
239 views

Validate list item with javascript API

I want to develop a custom datasheet view to edit a list. I add item through the javascript API. The problem is that the service doesn't control fields value. For example : - I add an item with a ...
0
votes
0answers
19 views

List Validation for Single line of text and multiple line of text

I need to validate in item list, that all defined text fields are filled with text if a choice is set with "valueB"; With choice "valueA" the text field may not be filled. I solved this with list ...
0
votes
0answers
24 views

Sharepoint 2013 client document library Column validation

I try to upload file to document library with metadata. When I enter validation for one column the file does not upload even data is correct or incorrect. Always show this exception List data ...
0
votes
0answers
131 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 ...
0
votes
0answers
14 views

Check on username in custom list validation

I have a list adding records. I need put a validation in a List column for the column named "Target Date". I went to List Settings, Validation Settings and added the formula and the User message. ...
0
votes
0answers
17 views

How to implement validation warning in page layout for column “Title”?

I am using sp 2013. I have created a custom page layout. I would like to implement an validation warning on the "title" and "comments" columns. Something like "It is not possible to use more than ...
0
votes
0answers
40 views

Error while adding a file to document library with the following code

I am using the following code to add a file to my document library, but it keeps giving me List data validation error (even if the values are correct!) myHashtable.Add("Text","Valid"); ...
0
votes
0answers
23 views

Validation for column choice

I am creating an event registration list using Sharepoint and have a column with the choices session 1, session 2, session 3 etc. How do I set a validation rule to limit the number of items for a ...
0
votes
0answers
28 views

Validate that text field matches a format zero or more times

I have a "single line of text" column in my list that needs to contain zero or more numerical values, separated by semicolons, with no spaces, letters, or other characters. The contents of that column ...
0
votes
0answers
21 views

List Data Validation still fails for document library when data is valid

I have a document library with a column with Column Validation. Whenever I try to add a file to the document library, it fails even when the data input is valid! try { file = ...
0
votes
0answers
30 views

Validate Number Column not to accept comma

I want to use ootb column validation to not accept the comma in number field. Can anyone suggest to me what a formula would look like?
0
votes
0answers
59 views

Data Inputing in Multi-Line text box and specified type

Good Day all, Im new to sharepoint, I have been ask to test sharepoint to see if it would do what we need, in terms of data inputing for our specific data model. The input is important as we need to ...
0
votes
0answers
71 views

SPUtility.ValidateFormDigest breaks ASP.Net server side validation

I have a Web Part which is using SPSecurity.RunWithElevatedPrivileges, and thus needs to call SPUtility.ValidateFormDigest. However, this apparently causes it to ignore all ASP.Net validators server ...
0
votes
0answers
54 views

MAC input validation in SharePoint 2010 list

I would like to validate the input of a MAC address in a list and have gotten the formula 90% there. The final step that I'd like to accomplish is to set any upper-case characters to lower. I know ...
0
votes
0answers
119 views

Validate Google Re-Captcha Server Side (Sandboxed solution)

I tried validate google recaptcha at server side, and according it's documentation, I had to do a request to an address (https://www.google.com/recaptcha/api/siteverify), passing three parameters ...
0
votes
0answers
120 views

SP2013 Column Validation Length without spaces

I have a Column Title, and need to get its length but not counting any spaces. This is a test should give me the length of 11 With LEN I can get the length of a string, but with the spaces. After ...
0
votes
0answers
83 views

jQuery .validate - submit don't fire after error

Validation plugin works fine except following scenario: user click submit button while text box is empty, get error message, then fill text box and click button again. This time nothing happens. Any ...
0
votes
0answers
20 views

SP2010: Add validation to a wiki page

I have a table on my wiki page. Is it possible to validate the data in those tablecells?
0
votes
0answers
1k views

Column validation formula within and outside of a list

I used to have this problem some months ago using SharePoint 2010, now it's back (SP 2013). Unfortunately I cannot remember what my "solution" was back then. Anyway I would be very grateful for some ...
0
votes
0answers
2k views

How to use Excel Functions IF and OR in SharePoint 2010?

I am trying to use multiple nested IF() functions combined with the OR() function in SharePoint 2010. In Excel 2010 it works very well, but it is not working inside SharePoint. I already tried to use ...
0
votes
0answers
92 views

Access parent field values from custom field definition

I've got a form that contains different custom fields. During vallidation of field1 I need to know the value of field2. Does anyone know how to access the field? Or perhabs it is possible to connect ...