Pagpapatunay ng haligi sa SharePoint 2010

Karamihan ng mga ang mga developer ay nahaharap ng mga isyu sa mga validations ng haligi sa SharePoint 2003/2007.

Ito ay talagang masakit na isulat ang pagpapatunay na gamit ang pasadyang diskarte tulad ng javascript o jquery.

SharePoint 2010 nagbibigay ng mga sumusunod na validations sa Out ng Kahon.

  • Haligi Level Pagpapatunay
  • List Level Pagpapatunay

Haligi Level Pagpapatunay

Habang paglikha ng bagong haligi sa listahan, i-click sa pagpapatunay ng haligi ng node.

Tukuyin ang iyong formula sa pagpapatunay.

e.g.

[FieldName]=”Halaga”

Ang formula ay dapat bumalik sa tunay na para sa pagpapatunay upang pumasa.

Lumikha ng Bagong haligi sa List at Tukuyin ang mga Setting ng pagpapatunay.


Lumikha ng bagong item sa Listahan, I-click ang I-save upang mapatunayan.

Wow .... buhay ay madaling sa SharePoint.

Estado nakatutok sa marinig ang tungkol sa pagpapatunay ng antas ng Listahan sa aking susunod na post.

8 comments to Column Validation in SharePoint 2010

  • […] Sa aking mas maaga na artikulo, I wrote about column level validation in SharePoint 2010. […]

  • veenar

    Can we compare more than 2 conditons eg;
    If the textbox values can either be “NewYork” o “Washington” then how the formula must be.

  • Rao

    Good Stuff.

    I need to check it for e-mail validation. Can you please suggest me on this ?

    Salamat,
    Rao.

  • SPsidd

    I’m trying to use a Single line of text field with column validation to allow users to just type text into the column. The problem is that I can’t figure out how to allow multiple entries into the column.

    I have a validation formula that allows users to enter a single value such as “TC-12345” but how can I adjust the formula below to allow a user to enter something like “TC-12345; TC-23456; TC-34567” as well? Need to allow users to enter up to 20 separate values. My existing formula is below. Kindly suggesst what change i should do to achive my goal.

    =IF(LEN([4M_Delete Type])<8,
    FALSE,
    IF(LEN([4M_Delete Type])=8,
    IF(LEFT([4M_Delete Type],3)="TC-",
    IF(ISNUMBER(VALUE(RIGHT([4M_Delete Type],5))),
    IF(LEN(RIGHT([4M_Delete Type],5)=5),
    Totoo,
    FALSE),
    FALSE),
    FALSE),
    FALSE))

  • ccyborg

    ce genre de formule n’est pas pris en compte par sharepoint 2010 :

    =AND(TRIM([BadgeOwnerFullName])=””,TRIM([BadgeOwnerAccount])=””)

    dommage…

  • Zayno

    je veux mettre un text en majuscules mais j’arrive pa à le faire avec les formules de validation

  • Colin Phelps

    Does this mean that =AND cannot be used on Column Validation? If so, how does one do data validation on more than one condition?

    My case is that I have a field called WinChance that is a percentage in a custom list tracking projects and their likelihood to proceed. I am trying to ensure that if the column called ProjectStatus is set to “Won” that the WinChance field is set to 100%.

    I thought that a formula in the Column Validation for the WinChance column of =AND([ProjectStatus]=”Won”,[WinChance]<100 would have achieved this. However I get an error message of

    "The formula cannot refer to another column. Check the formula for spelling mistakes or change the column to this column."

    In my research I see (I believe) plenty of examples where validation is done between different columns. Or am I going crazy?

  • Ron

    Is there a way to create a Field validation that would require a length of 6 where the first 2 must be Letters the next 3 must be numbers and the last could be either

Mag-iwan ng isang Sumagot

Maaari mong gamitin ang mga tag na HTML

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>