List data validation failed when creating a new list item but does not fail when editing an existing item

Dear SharePoint Experts,
Please help.
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 when I try to use it in SharePoint?
The intent of this formula is the following...
If the field "Request Type" has the value "Review" and the field "Request Data" is blank then show FALSE, otherwise show TRUE.
SharePoint saves the formula, but when a list item is saved where the formula is implemented, (under List Settings, List Validation), SharePoint does not, say anything other than that the formula failed.
Note that the "list data validation failed" error only happens when I am creating a new item-- the formula above works just fine when one is trying to Save on the edit form. 
Can you help?
Thanks.
-- Mark Kamoski

Dear Jason,
I appreciate your efforts.
However, it seems to me that this statement of yours is not correct...
"If it meet the validation formula, then you can new or edit the item, otherwise, it will throw the 'list data validation failed' error, it is by design".
I believe this is NOT the answer for the following reasons.
When I create a new item and click Save, the validation error is "list data validation failed".
When I edit an existing item and click Save, the validation error is "my custom error message" and this is, I believe, the way it needs to work each time.
I think, at the core, the error my formula does not handle some condition of null or blank or other default value.
I tried a forumla that casts the date back to a string, and then checked the string for a default value, but that did not work.
I tried looking up the Correlation ID in the ULS when "list data validation failed" occurs, but that gave no useful information because, even though logging was set to Verbose, the stack trace in the error log was truncated and did not given any
good details.
However, it seems to me that SharePoint 2013 is not well-suited for complex validation rules, because...
SharePoint 2013 list-level validation (NOT column-level validation) allows only 1 input for all the multi-field validation formulas in a given list-- so, if I had more than 1 multi-field validation rule to implement on a given list, it would need to be packed
into that single-line-of-code forumla style, like Excel does. That is not practice to write, debug, or maintain.
SharePoint 2013 list-level validation only allows 1 block of text for all such multi-field validation rules. So that will not work because I would have something like "Validation failed for one or more of the following reasons-- withdrawal cannot exceed
available balance, date-of-birth cannot be after date-of-death,... etc". That will not work for me.
The real and awesome solution would simply be enhancing SP 2013 so that column-level validation forumlas are able to reference other columns.
But, for now, my workaround solution is to use JavaScript and jQuery, hook the onclick handler on the Save button, and that works good. The only problem, is that the jQuery validation rules run before any of the column-level rules created  with OOTB
SP 2013. So, in some cases, there is an extra click for the enduser.
Thanks,
Mark Kamoski
-- Mark Kamoski

Similar Messages

  • Why does the Error: 500 SC_INTERNAL_SERVER_ERROR appear when multiple users access my JSPs but does not occur when only one user accesses my JSPs?

    When multiple users run my JSP application, why do some users get an Error: 500 SC_INTERNAL_SERVER_ERROR for certain JSP pages with the error message No such file or directory. The JSP listed on the Error 500 page varies and is not always the same. When only one user runs my JSP application, the problem does not occur?
    The database connection is held when the user logs in or accesses certain parts of the JSP and then is immediately released. No connections to the database are held.
    We are using Solaris 8 with MU_6 plus recommended patches.
    Enterprise Ultra 250
    iAS 6 SP 3

    Is anything showing up in the KXS or KJS logs?
    It sounds like you might having some kind of thread safety issue with your code. Either that or your guess about running out of database connections.

  • When i try to search for contact or create a new one the keybord does not come up

    when i try to search for contact or create a new one the keybord does not come up

    Try going to settings to General to reset to 'reset all settings'
    This should do the trick!
    Good luck

  • I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    Update on my problem connecting in Itunes with my Airport Express. Not sure if anything I tried made a difference
    but I finally got the Pop up window saying this device requires a Password. I entered the password and I can once again use the Airport Express as a remote speaker.

  • TS2313 Recently downloaded the new podcast app, but does not play offline. Can anyone help.

    Recently downloaded the new podcast app, but does not play offline. Can anyone help? Thank you.

    Hey Karenfromanamosa,
    I fixed this problem by turning off the ipad and then turning it back on after 5-10 minutes.
    Hopefully then when you play a video it will start playing.

  • My imac is on power but does not open when pushing start button

    My imac is down after 1,5 years! it is on power but does not start when i push the on button!

    Does it chime or nada?
    Might try an SMC Reset
    http://support.apple.com/kb/ht3964
    Also have a look at this Apple article
    http://support.apple.com/kb/TS1367

  • How to create a looping music player that does not restart when you go to other pages

    Hello
    I am new to web design. I apologize if I do not use the write
    terminology. I am designing a website. I want to have a song that
    loops continuously throughout the site and does not restart when
    you click on the different pages. I have included a link to a site
    that I found that does what I want to do. (Hopefully this link will
    give you a better idea of what I am trying to describe)
    http://www.marcuscoleministries.com/index2.html
    Thanks for your time and consideration

    You will have to use frames which in itself is a bad idea.
    IMO music that
    plays automatically is a terrible idea. It is likely to drive
    away many
    visitors and is unlikely to retain even a single visitor.
    Avoid frames. Drop the music. You'll be happy you did.
    Walt
    "dbone1" <[email protected]> wrote in
    message
    news:fn36v6$de7$[email protected]..
    > Hello
    >
    > I am new to web design. I apologize if I do not use the
    write terminology.
    > I
    > am designing a website. I want to have a song that loops
    continuously
    > throughout the site and does not restart when you click
    on the different
    > pages.
    > I have included a link to a site that I found that does
    what I want to do.
    > (Hopefully this link will give you a better idea of what
    I am trying to
    > describe)
    http://www.marcuscoleministries.com/index2.html
    >
    > Thanks for your time and consideration
    >
    >

  • My new I phone 4s does not ring when someone calls. Speakers works with music, it works with headphones, it works with the ringtones in the setting mode but it does not ring when is in normal mode...Please HELP!!!!

    Speakers works with music, it works with headphones, it works with the ringtones in the setting mode but it does not ring when is in normal mode...Please HELP!!!!

    Try a different ringtone.
    Reset or restart the device.

  • On updating to Yosemite Mail Index damaged but does not  repair when re-opening mail.

    Yosemite updated but Mail index damaged and does not repair when re-opened. How is this fixed?

    I have the same thing happening.  Everything else seems to be working fine, except i can't open my mac mail at all!  it seems to be in a loop and won't let me retrieve any mail or even try to send mail before migrating, but it fails and then its back to the beginning and the same loop continues, so no mac mail working.  I also came from 10.6.8 to 10.10
    jane

  • HT201401 I have set the ringer for my phone, and it is on according to settings, but does not ring when a call is received.  How can I fix this?

    My phone does not ring when a call is incoming.  How can I fix this?

    You might try restarting your device, your router and your Apple TV.

  • Choose a content type when creating a new list item

    Hi,
    I would like to know if there is a way how to change the "New" link in a SharePoint list.
    Problem:
    I have a list with free content types. If I click an existing item a form appears where I can change the content type. But if I create a new item by click the "New" link (directly to the link, not to the little arrow), I am automaticly creating the default content type (the first one).
    This is confusing for users. Can I change it so a user can choose a content type after he or she clicks the "New" link?
    Thanks for any advice.

    Hiya,
    I have a solution!
    If you have three set content types for a list, rather than encouraging people to click the arrow by the new button put three links on a new page that link to the new form for each content type.
    <a href="http://site/Lists/test/NewForm.aspx?ContentTypeId=CONTENTTYPEID1">Create a new item with content type 1</a>
    <a href="http://site/Lists/test/NewForm.aspx?ContentTypeId=CONTENTTYPEID2">Create a new item with content type 2</a>
    <a href="http://site/Lists/test/NewForm.aspx?ContentTypeId=CONTENTTYPEID3">Create a new item with content type 3</a>
    The main problem with this is that if you add new content types to the list, you have to add new links to the page.
    Mike
    The only thing I would add is that, the content type ID is a number (1, 2, 3.....) based on the order that the content types were added to the SP list.

  • The button to create a new account with iChat does not appear

    I've been trying to create a new account .mac from iChat, but the button does not appear, can you help please?
    Thank you
    Ivan

    Hi,
    The @mac.com Registration is Here
    You are right that there was a Button in iChat and iChat 5 that when @mac.com was selected as the type would then sned you off to that page (in iChat 5 the AIM option and using the Button took you to the AIM registration)
    Soon after Apple brought this to iChat 5 then AIM moved their Registration page making the Link useless.
    For some reason Apple also removed the ability in iChat 5 to go to the @mac.com site
    The Button is absent (rather than "Missing") in iChat 6 and Messages beta.
    The AIM registration Page is Here
    ON the @mac.com site keep the password to 16 characters or less (The AIM server limits)
    You cannot use another Email to link to the @mac.com name that is already in use with an Apple ID
    10:03 PM      Thursday; June 21, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • BOM item qty does not change when header qty changes in Outbound Delivery

    Hi,
    We are using sales BOM and exploding it in Sales Order.  ( Item category of components as TAE )
    I am creating a delivery with reference to  a sales oder ( i have maintained copy controls to copy header and item data). Now when i change BOM header quantity in delivery document system is  not redeterming the components quantity , item quantity of the components does not change.
    Please let me how can i control item qunatity when BOM heade quantity changes in outbound delivery document
    Thanks
    Venkata Rama Reddy.K

    Hello Venkata,
    The components item category is TAE, that means the item category for the header item will be TAQ. Also the pricing will be carried out at the header item level only.
    Now for your query:
    The standard item category controls of TAQ will not have any connection between the header & the item level quantities in the delivery. If you change the quantity of the header item in the sales order, the quantity of the compnenets will be automatically adjusted. But this will not happen in the delivery with the normal settings of TAQ.
    Solution:
    Go to transaction code VOV7 - select TAQ - double click - In the Bill of Material/Configuration section , there is a field "Create Delivery Group" - select "X - Form delivery group with one delivery date".
    Save the settings. Now create a new sales order & then create the delivery & try to change the quantity of the header item, the system will automatically change the quantity of the components. (the system may not change the quantity of the components in the delivery of the old sales order - change it manually)
    With best regards,
    Allabaqsh Patil.
    Idhasoft Ltd.

  • One field is visible in print preview but does not appear when printed

    Hi,
    We have a batch job that creates the spool, but one field of the form is visible during print preview of the spool but is NOT visible in the print out.
    How do we solve this?
    Is there an error in the printer?
    Thank you!
    Rgds,
    Freishz

    Hi guys,
    The catch is, when re-printed, it already appears. But after the batch job has been completed, this does not automatically appear.
    This involves, output type of a delivery.
    Thanks for your reply!

  • New tab appears but does not open

    Cross sign appears for new tab appears next to the open one but it is inactive - cannot open tabs at all. Used to work fine, not anymore. Tried to install plug-ins but did not work. Perhaps, I should un-install something then?

    The Ask Toolbar is causing that in the Firefox 3.6.13+ versions. Uninstall that extension.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

Maybe you are looking for