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

0
votes
1answer
22 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 ...
1
vote
1answer
23 views

Validation Formulas not working on a specific site

I have troubles using validation formulas on one specific site. Within a large sharepoint I was working on one site and had no problems using validation formulas. Now I now want to implement these ...
0
votes
1answer
29 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
26 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
1answer
37 views

Require field to be not null in sharepoint list

I have several columns to input a number, the field is required with a default value of zero. This works fine when filling out the form, but once they save it then go back into the form the user can ...
1
vote
0answers
21 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 ...
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
0answers
138 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 ...
1
vote
1answer
77 views

How to change required field error message?

I have two required columns in a custom list. When adding an item using OOTB new form, the required field validator shows same error message You can't leave this blank. For both required ...
0
votes
0answers
15 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
2answers
21 views

How do i prevent duplicate entires based on multiple criteria

How would I prevent duplicate entries into a list from being entered based on the status of a different item on the list. For example, I don't want someone to enter an new list item if they have an ...
0
votes
2answers
59 views

Sharepoint 2010 custom new form column validation

I have a custom list and custom New Form created using Visual Studio. Now I wanted validated a Amount column whether the value is less a value from another List column. I also have Newform.cs file. ...
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 ...
1
vote
1answer
12 views

Site collection Validation

While restoring a site collection, what all properties can be taken into consideration for validating the restore. (Say for example, if I have a a properties of the site before backing it up.. And I ...
0
votes
0answers
41 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
24 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
1answer
63 views

SharePoint 2010 List Validation not working as expected for DataFormWebPart

I created a custom list and kept the "Title" as unique and required. When I use the ListFormWebPart in "NewForm.aspx" all the validations work fine, i.e. for required and dulicate entry it shows ...
0
votes
0answers
32 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 ...
1
vote
0answers
40 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 ...
0
votes
2answers
60 views

Column Validation for day Monday OR Friday

I'm working with a date and time column and need a validation that returns true if the day of the week is Monday OR Friday. Users are not permitted to add an item on any other day of the week. ...
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
32 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
1answer
194 views

Fields validation with Javascript in custom WebPart - SharePoint Online -

I'm currently developing a SandBox WebPart for SharePoint Online (2013) which have two TextBoxes. I'm trying to add the following code for validate the Email and Subject TextBoxes once the Button ...
0
votes
1answer
196 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 enter Relative URL in TextBox then i want to append that relative url with Host Url Using JQuery and nedd to check that url ...
0
votes
1answer
22 views

Validation upon initial entry

I have a new SharePoint list in which the user enters an item number along with other information. Is it possible to check the item number for all other item numbers in the past 7 days. If it exists, ...
0
votes
1answer
17 views

Data Validation

I have a list in SharePoint. It collects the date it was entered and then a Dynamic Column called Days in House. This column should update by subtracting the creation date from today's date and ...
0
votes
1answer
94 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
32 views

How to specify a specific range of dates

I have a List that tracks certificates. I need to limit two of the input fields and I'm not sure how. I have a formula (=[Expiration Date]>[Last updated]) in place that prohibits an Expiration ...
0
votes
2answers
35 views

Validating Password based on nested IFstatements and FIND function Problem

I am having trouble figuring out how to validate multiple special characters in SharePoint 2010 when a user inputs a password. The special characters that are allowed are: !@$*#%&^)+ . When i have ...
1
vote
1answer
167 views

c# - how to validate sharepoint list column against ValidationFormula programmatically

I need to validate a string that user submit against SPField.ValidationFormula while adding new record to custom list in c#. Line to add new record is SPListItem item = mylist.Items.Add(); I have ...
0
votes
1answer
28 views

Help with list validation please

I'm trying to do a validation in one of our list. Basically, I have a Drop Down box with 5 choices (let's say choice1 to choice5). If choice2 OR choice3 is choosen, I'd like to have a mandatory ...
0
votes
1answer
67 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: ...
0
votes
2answers
32 views

List Form Validation Logic Not Working as Expected

I'm trying to include Validation Settings for my List Form where I've got a column called Food Service and another column called Food Service Type, where Food Service is a "Yes/No" type column and ...
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), ...
0
votes
1answer
62 views

Email address validation error

I have an EMAIL column and added this validation code: =AND( ISERROR(FIND(" ", [EMAIL],1)), IF(ISERROR(FIND("@", [EMAIL],2)), FALSE, AND( ISERROR(FIND("@",[EMAIL], FIND("@", [EMAIL],2)+1)), ...
0
votes
1answer
61 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
103 views

Column Validation Forumla Question Regarding Special Characters and ASCII

I've run in a problem writing a formula that will basically validate what the user enters. So for example, i need a user to input a password using the following criteria: 12 characters long 1st ...
0
votes
0answers
62 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
1answer
73 views

Task %Complete calculated column show date/time

Im trying to create a calculated column to show completion date of a task based on %complete. So if the task has hit 100% then it should autofill a date/time value based on this percentage.
0
votes
1answer
182 views

Person Group type column not listed on a custom list's Validation Settings page

I have a Person Group type site column that I am using in a custom list through content types. On the Validation Settings page of the list I cannot find that column listed in the selection list of ...
0
votes
0answers
72 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
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
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
1answer
34 views

How to validate on an absolute date?

I have a datetime field named "Date", and would like to only allow values within a specific range, say March 2015 - June 2016. Is there an easy way to do this? This rather hard one doesn't trigger any ...
0
votes
0answers
122 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 ...
2
votes
1answer
92 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 ...
3
votes
4answers
293 views

Validate a column only on edit

I have a date field that's now allowed to be >=TODAY(). But this validation should only be run IF the field have been edited. The field is present in a form with other fields. And if any of these ...
0
votes
1answer
179 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
0answers
124 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 ...