Help - Change validation error message - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Help - Change validation error message

Last post 09-15-2011 07:40 AM by eliasen. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-13-2011 09:24 AM

    • Chase_H
    • Not Ranked
    • Joined on 07-06-2011
    • Dallas
    • Posts 10

    Help - Change validation error message

    I am using validation rules in my forms and publishing them to Sharepoint 2010. When using validation rules, I know you can change/modify the messages used by InfoPath but once published SharePoint first uses its predetermined error message. See below,

    "The form cannot be submitted because it contains validation errors. Errors are marked with either a red asterisk (required fields) or a red, dashed border (invalid values). Field or group: my:Email Error: Still Need Help? Click Here

    Click OK to resume filling out the form. You may want to check your form data for errors"

    My question is, how can change/modify this text to show something different? SharePoint uses a pop up and displays this message but being able to change this would be ideal. Any help would be much appreciated.

    I understand this is done thru SharePoint but since InfoPath and SharePoint go hand and hand, I figured I'd put some feelers out and see if anyone has suggestions.

  • 09-15-2011 07:40 AM In reply to

    • eliasen
    • Top 500 Contributor
      Male
    • Joined on 10-07-2010
    • Aalborg, Denmark
    • Posts 33

    Re: Help - Change validation error message

    Hi

    Normally I go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\INC\<languagenumber>\IntlCoreStrings.js to change error messages, but this one doesn't seem to appear there. I am afraid you are out of luck. If you find a solution, please share it :)

     

    eliasen, representing himself and not the company he works for.
    Microsoft BizTalk MVP
    Blog: http://blogs.eliasen.dk/technical/
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.