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
0answers
84 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 ...
3
votes
3answers
832 views

Getting Value of Radio Button on SharePoint 2013 Edit Form using jQuery

EDIT: updated verbiage to reflect this is specifically a Radio Button choice field. The below script works when the choice is set to display in a drop down. I'd like to be able to do the equivalent ...
2
votes
1answer
52 views

Disable validation for BaseFieldControl until save button is clicked

I have webpart with webpart user control and webpart config control. The problem is that the when I save options in config control, field validation in user control validates fields (BaseFieldControl) ...
0
votes
1answer
141 views

Conditionally Require Data in SharePoint List Columns (cannot be blank)

I am working on a List where if a certain entry is edited/marked as "Closed" in the Status column, then the Resolution Date cannot be blank, and should not let the user save the changes (Stop Editing ...
0
votes
1answer
52 views

How to validate the total value of multiple Number columns in a list?

In a List, I've got several number columns that users enter a value in for # of tickets. Ex: Event 1 - [ ] tickets Event 2 - [ ] tickets Event 3 - [ ] tickets Is it possible to validate the ...
1
vote
1answer
67 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
543 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" DateOnly=...
0
votes
0answers
19 views

Restore viewstate while cancelling request

I have a SPItemEventReceiver with custom ItemAdding handler. When any exception occurs (frequently it's just a model validation) it handles this exception in Handle method. Now it looks like this: ...
0
votes
1answer
46 views

Column Validation help

I am struggling to get my column validation to be accepted. This is the logic I am trying to replicate: IF "Status" = "Successful" THEN "Date Completed" must be populated AND "Date Completed" IS ...
0
votes
0answers
55 views

Validate over-20 dropdown lookup column

I have a lookup column with over 20 items so it displays the more complex (input element) dropdown menu. The trouble I'm having is that users can type anything into that input, even if it does not ...
0
votes
0answers
49 views

SharePoint Validation Email Formula not working

I am trying to make a validation for email field, using this post: https://www.premierpointsolutions.com/training/help-and-how-to-articles/how-to-validate-an-email-address-using-column-validation-in-...
1
vote
2answers
89 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
2answers
43 views

sharepoint list validatation code not working

I have three fields in a list called Level 1 data incident, Level 1 data incident(Yes), and Level 1 data incident(No). Based on Yes or No selected from a drop down option only the appropriate field ...
0
votes
1answer
80 views

how to put validation using script in sharepoint 2013?

i want to set validation using multiple fields in Newitem.aspx. e.g. if user select type "Sick leave" and number of days are > 3 then he must add "attachment". i tried with presave action but it's ...
0
votes
0answers
503 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
1answer
117 views

Strict Text Formats in SharePoint Online

In my SharePoint Online list I have column Serial# and I want Serial# in a specific format like 5CB34307L8, 2CE0031NWX For example if I type 512,bc1 it should be converted automatically into 512BC1 ...
0
votes
1answer
45 views

Validation Formulas

Could someone please help me with the following: I want to validate the documents added in sharepoint only if they have the Project name and the Contractor name. Can you please let me know what ...
0
votes
0answers
30 views

Group Validation Error When Adding an Attachment

I have an InfoPath form and workflow set for a list in SharePoint 2013. I am receiving the validation error: Field or group: my:group_2 Error: No exact match was found. I have reviewed the ...
2
votes
2answers
45 views

column validation in 2013

Hopefully I can explain this well enough, I am working in 2013 and I have created a form with 21 fields. There are eight fields that are required from the start, one of those required fields has six ...
2
votes
1answer
237 views

How to validate a sum of percentage from multiple fields before creating a new item?

Here's the situation that I'm facing. I have three (number-type) fields which should add up to 100%. What I want is to be able to dynamically validate that after I input the number into the 3 fields....
0
votes
2answers
56 views

Validate a date to a specific month

I'm using SharePoint Online and in one of the lists I have a date field that need a special validation. The date register by the user must belong to a specified month, and this month most be ...
0
votes
4answers
548 views

number field to limited digits without comma in sharepoint list

On my SharePoint online site I have a custom list with a Number field.I want to apply validation on this field so that the Number should not be less than or greater than 5 digits and it should be ...
0
votes
3answers
395 views

How to Implement Field Validation on Click of Submit button on Custom Form

I've created a custom form in SPD 2013. On my form, I've got a series of required fields. I coded the OnClick feature of the "Submit" button of my form so that when a user submits the form, a ...
0
votes
0answers
106 views

Validation Error how to move screen to error message

Currently on my SP site when a user submits/edits a form and a column validation error occurs the screen refreshes but stays where it is (so if you have scrolled to the bottom it refreshes you at the ...
0
votes
2answers
40 views

validation control not working

I am using sharepoint validation control to validate only numbers but whatever i enter it says "please enter valid number". What is wrong with my validation expression? <SharePoint:...
1
vote
1answer
47 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
189 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 Request]...
0
votes
0answers
14 views

Validations not working in Sharepoint 2010 at all, Both list and column validation will not affect my request form? [duplicate]

I have 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 and I need to validate two dates within a form I have [Date of ...
0
votes
0answers
14 views

Validating dates on a form in Sharepoint and validation will not work at all anywhere, what can I do? [duplicate]

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 Request] ...
0
votes
1answer
931 views

Column validation for US phone number format

I want to validate the field for US format phone number(478-857-4578). I used the below code, it works fine for all but one scenario. If I enter only 4 digit number or below than, the error message ...
1
vote
0answers
23 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 ...
0
votes
3answers
408 views

Why does this multi-field validation forumula work in Excel but not in SharePoint 2013?

Why does my simple formula work in Excel but not-work in SharePoint? Why does this formula... =IF([Request Type]="Review",(IF(ISBLANK([Request Date]),FALSE,TRUE)),TRUE) ...work in Excel but fail ...
0
votes
1answer
250 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
57 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
258 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 ...
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 ...
9
votes
5answers
10k views

How do I trigger the default form validation without submitting the form

I'm customizing the NewForm of a list item and need to trigger the default form validation from my JavaScript, but I don't want the form to be submitted, since I'm doing that in a callback later on. ...
1
vote
0answers
114 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
355 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 ...
4
votes
3answers
19k views

Column validation syntax in 2010

I'm trying to find information on how to form proper column validation formulas, but can't find any explanation of formula syntax. All I keep running into are snippets of formulas, what I'm looking ...
1
vote
0answers
52 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
2answers
66 views

How to Determine if One or More Fields in Custom Edit Form have Validation Errors

So I have a DVWP with an Edit Form. The form uses jQuery tabs to organize the fields for the different roles that edit the item. I would like to show a message at the top of the form if at least one ...
1
vote
1answer
643 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
2answers
346 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
255 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. ...
1
vote
1answer
19 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
110 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"); myHashtable....
0
votes
1answer
182 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 ...
1
vote
0answers
103 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
88 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 ...