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

1
vote
3answers
5k views

Unable to validate sharepoint date time control

I have added a <SharePoint:DateTimeControl> in my visual web part and I want to make it mandatory. To do so I referred this link and used as per my code. My code is: <tr> <td> ...
1
vote
1answer
1k views

How to make taxonomy picker required when used in visual web part?

I have created a visual web part in which user has to specify a field's value from taxonomy picker control. I want to make that value mandatory. The control is placed successfully but when I use the ...
1
vote
1answer
51 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 ...
1
vote
1answer
399 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 ...
1
vote
1answer
2k views

List Validation Settings - Multi Line formatted Columns Missing from Create Formula

I have a custom list in which some specific fields need to have additional validation which I am implementing through Validation Settings. However, on the Validation Settings page, when I go to ...
1
vote
2answers
3k views

Insert a list item using REST form webpart: 403 error even when X-RequestDigest is present

I intend to insert a list item from the main page in intranet to a list hosted on another site collection. I made this simple HTML & JS to get it done, but I always get the 403 / FORBIDDEN error: ...
1
vote
4answers
2k views

How to perform date validation in publishing page layout?

I have the following 2 datetime fields which are used in my custom page layout on my publishing site. Basically, when a user is editing the page I want to validate that the 'NewsLiveDate' < ...
1
vote
2answers
3k views

How to validate if entered text for a column is in Upper Case

I need to validate if the text entered in a text column is written in UPPER CASE.
1
vote
2answers
997 views

Validation on page load treats SharePoint field controls as empty

On a particular custom list item form I am making for my WSS 3.0 web app, I am required to validate the page when it is loaded up, so that any mistakes the user makes from a previous save are noted ...
1
vote
2answers
3k views

SP2010, how to add email address validation to a column?

I have the following code: =ISNUMBER(FIND("@";[emailAddressField])) It's not working, can someone recommend a better formula. Thank you! The exact problem is... depending on the default site ...
1
vote
1answer
4k views

How can use Regular expression for Column Validation in Sharepoint 2010?

Is there a way that i can use the newly introduced "column validation" in Sharepoint 2010 Lists to validate that the value conforms to a regular expression? For example: if i create a column for ...
1
vote
1answer
46 views

Validation Settings Not Showing in List Settings SP2013

I can't see an option for Validation Settings or Catalog Settings for my list in SP2013. What permissions should my admin provide me in order for those two options to show? These are the settings ...
1
vote
1answer
46 views

List validation, no duplicates choices

I'm having issues with validation on SP2010. I've created a list with 8 possible shifts my employees can choose and want them to select their most to least preferred shift. I've also set it to they ...
1
vote
1answer
545 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 ...
1
vote
2answers
2k 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. ...
1
vote
1answer
1k 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 ...
1
vote
1answer
519 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
1answer
132 views

Column Validation

I got 8 columns in my List(calendar reservation). I want to have one column(Approval: YES/NO) only visible to a user("testuser"). How can we use column validation *expressions* to archive this. ...
1
vote
1answer
4k views

List validation Sharepoint 2010: How do I validate date column based on Status?

I have an Action Items list that captures [Created], [Status], and [Date Completed] columns. [Date Completed] is an optional column to be entered at a later date when the Action Item is closed. If ...
1
vote
2answers
285 views

List validation on sharepoint 2010 list

I tried to add validation on sharepoint 2010 list to validate 4 columns but, the length of this validation is greater than length of text box to write the formula. Is there any way to expand this text ...
1
vote
1answer
283 views

Turn off SharePoint Error Messages

Is there a way to turn off error messages, that are returned from InfoPath forms either having invalid data, or permissions. Here is a picture of them. I would perfer for the form to just not ...
1
vote
1answer
3k views

How to put DateTimeControl ErrorMessage as '*' during required field validation

There is a DateTimeControl on my WebPage which i is a ReqiredField. I have set the properties of the control as follows <SharePoint:DateTimeControl runat="server" ID="txtDOB" DateOnly="True" ...
1
vote
2answers
6k views

infopath > How to make sure there is an attachment

Creating a resume upload form where user must upload attachment. On submit button I want to disable submit button if attachments is not present? I added Attachments is not present and this seems to be ...
1
vote
1answer
944 views

add more accepted protocols to url/link validation

I'm trying to add a link that starts with the protocoll "notes://" to a URL list and in a standard rich text field but only get "the url is not valid" How can i make sharepoint 2010 understand that ...
1
vote
2answers
263 views

SharePoint List Check whether Value is Checked

I am using Windows SharePoint Server 2007. In a custom list, if I have two columns. One has a list of Categories, and the second has a list of Products. So in my Categories Column its a Choice with ...
1
vote
1answer
326 views

validation control is always fires

I'm try to using validation InputFormRegularExpressionValidator. Code behind <SharePoint:InputFormTextBox runat="server" ...
1
vote
1answer
845 views

Column Validation in SharePoint 2010

I have three columns, "Status", "Request Date" and "Completion Date". I want to do two things: If "Status" is Closed or Withdrawn, I need to add validation to have the user enter a completion date ...
1
vote
1answer
16 views

InfoPath 2010 Validation not Working As Expected

I have an issue with Validation in InfoPath 2010. I'm using IP 2010 with 2013 SP List. Below is step by step of the issue I'm encountering: Below is part of a form in IP. The controls are a Radio ...
1
vote
0answers
32 views

Sharepoint 2010 Validation by two fields

I have a SharePoint list with these fields: Destination - User picks a person Created by - User who created the item Is there a way to prevent users from creating item for themselves using ...
1
vote
0answers
28 views

Limiting the number of items in a list

I'm trying to limit the number through the use of validation settings. I was hoping of creating the max number of forms, then forcing it so no forms can be created. But I still would want the forms to ...
1
vote
0answers
49 views

SP2013 column validation error message issue

I'm using on-premise Sharepoint Server 2013 and within my site collection I need to apply field validation formula to document library using document set content type. In case formula is used for ...
1
vote
0answers
16 views

Validating multiple columns - one date, one yes/no

I'm having trouble figuring out how to make sure that if "yes" in the yes/no option is chosen, that a date must be entered in the "when" column and vice versa. In summary, did you buy a car? if so ...
1
vote
0answers
79 views

Trigger standard new/edit form validation from custom button code behind

I've got a standard new and edit form with one custom button on it. I want to trigger the usual form validation, when the button is clicked and ONLY execute the code behind the button when the form ...
1
vote
1answer
144 views

Validating a set of dates in Microsoft Sharepoint

I am trying to validate dates in a task request form that has a column of [Date of Request] (which would be the day that they are adding the task to the main hub. I, then, want that [Date of ...
1
vote
0answers
22 views

need additional validation

I am looking for a simple way to perform an input validation or input control in newdocset.aspx. I need to avoid any “.” (dot) in the name to avoid a later performed path generation. I have tried ...
1
vote
0answers
98 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 ...
1
vote
0answers
50 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
2answers
80 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. ...
1
vote
1answer
18 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 ...
1
vote
0answers
93 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
81 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
1answer
52 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
2answers
387 views

Validating Sharepoint Column doesnt contain word Sharepoint

I want to create a single line of text column that validates following items: Unique:can be done using OOB column settings 10 character: can be done OOB column settings All Lower Case: How do I do ...
1
vote
1answer
248 views

Validation formula on new items only

I'm using the following formula to prevent users from entering spaces on the article name field. =ISERROR(FIND(" ",ArticleName)) The problem is the users have already entered data in this field ...
1
vote
1answer
60 views

List Validation Settings

I am trying to create a list validation rule that works for more than 1 argument. I have 2 dates as input, DATE1 AND DATE2, and a third date which is used to check that the first 2 have not expired, ...
1
vote
1answer
3k views

Conditionally hide/require form column based on radio buttons

I'm sure it's been asked a million times, but after hours of searching and messing around I have been unable to find a solution...Hopefully someone here can help me? I have a SharePoint list that has ...
1
vote
0answers
132 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
1answer
352 views

Check for Valid User via Button

Ok, so I have a form that has multiple views, some read only and some editable. Each form has buttons to open the other forms in either edit mode or read only mode based on a field being set to ...
1
vote
0answers
124 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
1answer
992 views

Check for Validation Errors on Submit Button Click [closed]

I have an infopath 2010 form that already has some VB code behind it. I want to create a SubmitButton clicked event that checks for validation errors before it submits.. I have an example in C# and i ...