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
1answer
286 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 ...
0
votes
1answer
879 views

Validation formula that TEXT should not to have SPACE

Is there any validation formula which don't allow to save some value in column with SPACE in SharePoint 2010? I know that is Calculate column formula with TRIM formula but I need to validation formula ...
0
votes
2answers
516 views

Required Date Field Value in infopath SharePoint 2010

I have an infopath form with 4 buttons, each button corresponds to a different view. When the form loads, only first 2 buttons are visible and when users fills in the fields in the first two ...
1
vote
2answers
141 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 ...
0
votes
1answer
393 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?
0
votes
1answer
839 views

TEXT formula does not work in SharePoint 2010

I try to find difference between two date and time value in SharePoint 2010. I have two common column (date and time) and I use this formula =TEXT(Column2-Column1,"h:mm:ss") but it does not work? I ...
0
votes
1answer
321 views

Calendar Column Validation for booking after a specific time

I'm trying to write a column validation for a SharePoint calendar to ensure all bookings are after 8.30am in the morning and before 5pm at night. I've tried the following: =AND(TIME(8,3,0) < ...
0
votes
2answers
174 views

Validat Data on Date And Time Column not work on editform.aspx on sps 2010

i have a pronlem on validation on edit mode of list items. my a simple list have a column named : "StartTime" with date & time type. and i add this validate rule : "=[Created]<[StartTime]" it ...
0
votes
1answer
208 views

Column validation on managed metadata term

I would like to validate when i create a new list item that the metadata item selected is a specific item and not a top level category for example in the above you should not be able to select ...
1
vote
4answers
1k 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' < ...
0
votes
1answer
398 views

How do I stop rules on submit if validation fails?

I have multiple rules on my submit button, which I need to process only if the validation passes. Currently if I have validation errors, the other rules run and change the views and the function on ...
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
0answers
1k 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 ...
1
vote
1answer
555 views

List item validation using .NET Client Object Model

On a SharePoint Foundation 2010 installation, I have a list defined and have set some simple validation rules on a couple of the fields: Text field (required) Number field (required, min: 50, max: ...
0
votes
1answer
254 views

Server side validation if Javascript disabled on user's browser

I have developed a small form with 3 input type = text and one input type = submit button. The end user fills the form and submit it, but no data inserted into backend List. (probably empty form is ...
0
votes
3answers
209 views

Check if a list has the expected structure?

I must use a list in a webpart and display some data/graph/etc based on the list content (notice: this is simplified, so please do not give it much importance). To be used the list must have a ...
1
vote
0answers
123 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 ...
0
votes
1answer
149 views

How to validate field across multiple lists

So I'm created a number of different lists and libraries with workflows attached. When someone creates a new job, the document is uploaded to the Job directory (library). If it classified as a ...
2
votes
2answers
2k views

form validation

I am new in javascript. I want to validating a form with five columns. FormDescription My Form Contain 5 input fields and one submit buttom I want following output 1.Initially submit button ...
3
votes
1answer
1k views

How do I validate a selected “choice” field in a survey?

We've got SP2010 foundation, and the other limitation is that we do not have access to SPD or any of the programmatic ways of accomplishing this. I'm looking for information about how to set this up ...
0
votes
1answer
2k views

Find out if validation errors exist in InfoPath form

Does anyone perhaps know of a way to find out at any point when a form is filled in if there are any validation errors on the page? I am having a lot of trouble with users that are not very ...
0
votes
1answer
2k views

List validation on multiple fields?

I would like to validate a list item so that if one field is true, then another must be completed. If the first one is false, then it can be ignored. =(([Start Deferment]="Specific Date") AND [Start ...
4
votes
1answer
93 views

formula to limit date entries to specific month

In my "time off" custom list I have start date and end date. I want to make the user splits up the entries if the time off spans months. In other words if the entry starts Oct 25 and ends Nov 5 I want ...
0
votes
2answers
2k views

Custom Validation on Infopath Fields? C#

How can I apply custom validation to Infopath 2010 fields which stretches beyond the basic Rules and Templates? I am looking to validate a custom field which needs to be validated much like a Credit ...
0
votes
2answers
349 views

Does web part property validation only work for visual web parts?

Suppose I define a web part property like this: private string _myString = "default value"; [WebBrowsable(true), WebDisplayName("My string"), WebDescription("A simple bit of text to ...
0
votes
1answer
167 views

PowerShell version of SPWebapplication.FormDigestSettings.Enabled?

Does some one know the PowerShell equivalent version of the following SharePoint object model code: SPWebapplication.FormDigestSettings.Enabled = false;
0
votes
1answer
181 views

Using an event receiver to validate a page

I need to evaluate certain properties of a page whenever it's being saved/published as part of a custom validation I need to implement. I notice properties has both Cancel and ErrorMessage properties ...
1
vote
1answer
611 views

Validation of dates in different fields in sharepoint

My question is on validation of dates in SharePoint… If i have two date fields – start date(& time) and end date(&time). How do i validate these, so that a person cannot pick a time in ...
1
vote
0answers
229 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 ...
1
vote
2answers
2k 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.
2
votes
2answers
303 views

Sharepoint multi-column validation

I've got a custom list that contains multi collumns. The validation is made by a custom contenttype. Now I want a combination of two columns to be unique. Until know I did not found a way to solve ...
1
vote
1answer
222 views

How to validate that atleast one question is answered on a survey list where none of the questions are required?

I have a survey list that has 2 questions, the first being a rating with a subset of 4 criteria to rate on and the second is just a questions and comments textbox. None of these are required, ...
3
votes
1answer
8k views

2010 Column Validation Formula

This formula works fine when adding a new list item: =[Class Date]>=TODAY()+3 Basically ensuring the user selects a date greater than two days away from current date. I don't want the formula to be ...
0
votes
1answer
673 views

InputFormCustomValidator doesn't work

I have custom application page, and I need some custom client side validation. After spending hours on trying to make asp.net CustomValidator to work, I googled a lil bit and found few posts, that ...
3
votes
3answers
2k views

New Item form field validation in SharePoint

I have created a custom list with below two columns. 1. Choice with Yes/No values 2. Multiple lines of text In New Item form of this list, on click of save button I want to make field 2 mandatory ...
0
votes
0answers
90 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 ...
1
vote
1answer
264 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 ...
0
votes
2answers
1k views

programmatically list validation

I'm looking for a way to implement programmatically vallidation for NewListItems/EditListItems. One way I found was: to use the ListEvents and Validate on ItemAdding / ItemEditing. But instead of a ...
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" ...
0
votes
1answer
393 views

Infopath: Validate Status field when there is change in Date

I have a non-required field called "EntryDate". But if status changed to "Processing" then end user has to populate the "EntryDate". I can't seem to get this working. Please suggest what are my ...
8
votes
2answers
6k views

Validate if the entered text is number

Is it possible to write column validation to check if the entered text is number? I have a column named Year of type Single line of text. I would like to be able to stop the user if he or she enters ...
1
vote
2answers
3k 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 ...
2
votes
1answer
486 views

dropdown box(sharepoint form field) validation sharepoint 2010

I have a sharepoint form field(look up field), a dropdown box in a list...below is the screen shot when i type into it it finds the name.. but when i type a text which is not present in the drop ...
8
votes
4answers
2k views

List Validation does not show Error when Conditions are not met

I am using List Validation feature for a list which is working fine i.e. doesn't save the item when condition not met. However, it is not showing the error message which helps to rectify the inputs in ...
4
votes
1answer
1k views

SharePoint Form - Advanced Validation Error Handling

Our company wants to create a more user friendly and branded way of handling user errors when validating InfoPath Forms. We would like to create a message box that essentially would be more ...
3
votes
1answer
599 views

How can I make sure that only one of two fields is filled out (ListItem)?

I have custom SharePoint list with several fields. Two of the fields are TargetPage and ExternalURL. At the moment the user is allowed to fill out both of them if he want to, and I want to deny that. ...
0
votes
1answer
194 views

Issue when checking URL containing %20

I have custom control which displays different details depending on which site the user is currently at. My problem is that as soon as the URL contains non-alphabetic characters, the controls fails to ...
0
votes
1answer
269 views

Regular expression for validating a SharePoint site address

I am trying validate an input from a text box and I want to make sure it is a well formed SharePoint address, e.g. http://site/ Does anyone have a regular expression that can do this or another method ...
1
vote
4answers
1k views

ASP.Net Validators part of Custom control in WebPart

Custom control has 6 buttons in which 5 of them have CausesValidation = false, the one remaining button ( lets calls it as "SUBMIT") which cause validation. Edit: Validators and Submit button are ...
2
votes
2answers
2k views

How to make SharePoint fields mandatory conditioned on other fields?

For example, in a workflow task, I might have a master field called "Approve" which, if set to "No", makes it unnecessary to complete the rest of the form (and thus makes them non-mandatory). Is there ...