Tagged Questions

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

3
votes
1answer
9k 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
743 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
268 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
427 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
7k 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 ...
3
votes
1answer
525 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
629 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
197 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
276 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 ...
1
vote
1answer
632 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 ...
0
votes
0answers
75 views

how to validate custom web part property? [duplicate]

Possible Duplicate: How to validate Web Part property value? below is a custom prop and a code that i am using for my custom web part, my question is, how to validate a custom web part and ...
0
votes
1answer
3k views

Sharepoint 2010 Condition List validation?

I have 2 date fields. I want the END_DATE field to be greater than START_DATE. For this I use the following validation =AOS_validfrom&lt;=AOS_validto All this works fine. Now I want to ...
1
vote
2answers
224 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 ...
2
votes
1answer
1k views

Custom form validation

I am new to Infopath and Sharepoint, and have been reading everything I could find online about this, but nothing to solve my problem. We need a form with custom validation (logic in javascript) to ...
1
vote
3answers
2k views

Email validation in SharePoint 2010

We have a column of type "E-Mail" and we'd like to attach validation to it so it conforms to the normal regular expression email validations at a specific domain. Is this possible without writing a ...
1
vote
1answer
299 views

validation control is always fires

I'm try to using validation InputFormRegularExpressionValidator. Code behind <SharePoint:InputFormTextBox runat="server" ...
1
vote
2answers
836 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
1answer
731 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
2answers
2k 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 ...
0
votes
2answers
1k views

Disable/Bypass JavaScript Client Side Validation

Is there a way to entirely disable client side validation of list forms? Specifically the date field validation which occurs before the form is ever submitted. I have tried PreSaveAction() but not ...
2
votes
1answer
1k views

Validate a date column against a lookupfields additional column

In a list you can create a lookup column which queries data from an other list, the fun part is that you can add "additional columns" which results in some sort of ghost column which is added to the ...
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
793 views

Problem validating StringBuilder fields in SharePoint 2010 Custom Workflow Validators

One of our custom SharePoint Designer workflow activities, which have always worked fine in SharePoint 2007, fails to validate. This appears to happen when a Workflow Activity that contains a ...
5
votes
5answers
3k views

How to validate Web Part property value?

A custom web part has custom web part properties. I would like to validate with custom server side code when user changes property value (or when properties are bing saved). Is that possible? Can I ...