How to customize the validation error message

Hi,
In my infopath 2010 form, when a required field is skipped, we get a very cryptic error message which is not user friendly. Can anyone please let me know how can i customize this cryptic message with a more user friendly one.
many thanks.

Hello,
There is no straight solution of this problem. You may use data validation rule instead of field validation for validation so you can at least avoid that pop up error message.
Another way is, make field mandatory via code. you can just remove all field validation then check all fields data via code and cancel the submit event.
Another way is, add custom button form for submit, then hide this button until form validation is succeed.
http://blog.parkercomp.com/2009/05/how-to-customize-infopath-error-dialogs.html
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

Similar Messages

  • How to check the SQL error message to address the application issue

    Dears,
    The application runs SQLs against Oracle via oracle client(actually the app is IBM Cognos which shows report and the data is from oracle database). So, for a report which fails to run, I want to check the sql and the error message for this failed sql statement. Where is the message stored, client or server and How to get it?
    I know there is a view v$log used to check the sqls ran in database but here I mean the failed sqls....
    Thanks,
    Ricky Ru

    969543 wrote:
    The application only presents the application error message.. And it is not helpful for me to get the root cause..The application uses the Oracle Call Interface to communicate with the database server. OCI calls return a result code to the client. The client is expected to call OCIErrorGet() to get the full error text.
    If the client does not do this, or obfuscate the server error, or suppress the server error? Crappy client. The lack of the client to play its role as client, correctly within the documented client-server architecture, is solely the client's problem. Not the server.
    For DB2, I could use db2diag to check the log. why oracle can not do this? any thoughts?Because Oracle is not stupid? Why on sweet mother earth waste server resources to track client application errors, on behalf of clients? How does this make ANY sense!?
    Oracle server's handles 1000's of SQL executions per second. Just where is it to find sufficient space to log application errors (not database system errors) at that rate? How do you justify that overhead? Using the argument that the application is poorly designed or written? Come on!

  • How to get the returned error messages in the Try/Catch block in DS 3.0?

    A customer sent me the following questions when he tried to implement custom error handling in DS 3.0. I could only find the function "smtp_to" can return the last few lines of trace or error log file but this is not what he wants. Does anyone know the answers? Thanks!
    I am trying to implement the Try/Catch for error handling, but I have
    hard time to get the return the msg from DI, so I can write it to out
    custom log table.
    Can you tell me or point me to sample code that can do this, also, can
    you tell me which tables capture these info if I want to query it from
    DI system tables

    Hi Larry,
    In Data Services XI 3.1 (GAd yesterday) we made several enhancements for our Try/Catch blocks. One of them is the additional of functions to get details on the error that was catched :
    - error_message() Returns the error message of the caught exception
    - error_number() Returns the error number of the caught exception
    - error_timestamp() Returns the timestamp of the caught exception.
    - error_context() Returns the context of the caught exception. For example, "|Session Datapreview_job|Dataflow debug_DataFlow|Transform Debug"
    In previous versions, the only thing you could do was in the mail_to function specify the number of lines you want to include from the error_log, which would send the error_log details in the body of the mail.
    Thanks,
    Ben.

  • How to handle the system error messages?

    Hi...
       I was doing File to RFC scenario with BPM. If i give the correct values for the Bapi Input it is working . If i give the some wrong input to the BAPI, it is not executing and the scenario is stopping. If i click on PE , it is going to the Inbound Queue.
    If this type of issue occurs i need to capture the system error and store it in a database. Could you pelase help in this issue.
    Thanks,
    Leela
    Edited by: leelaratnam morampudi on Nov 21, 2008 2:24 PM

    Hi Leela,
    You need to handle this in BPM. Check the thread describing how to catch exceptions in BPM.
    How to handle system errors in XI using BPM? please help!
    Thanks!

  • How to customize production version error message

    Hi Friends,
    I copied the BAPI_REPMANCONF1_CREATE_MTS into Z FM and when I test the Z FM, I wantedly entered the wrong production version say ABCD instead of 1234. The message field of my return bapi BAPIRET2 is populated with an error message saying that "Production version not found". Till here it is working fine.
    I need to modify my code in such a way that if I enter the wrong production version, my bapi should error me in such a way that "ABCD Production version not found" in the message field of BAPIRET2.
    Please sugesst me ideas for solving this.
    Thanks.

    Nani,
    Please follow approach suggested by Suman.
    All you have to do is validate production version ( of that material/product?) against DB Tables before calling you ZFM or Std BAPI.
    If you would like to go by my approach.. you will have to do something like this..
    option1:
    IF RETURN-TYPE = 'E' AND RETURN-ID EQ 'RM' AND RETURN-MESSAGE = '149'.
    CONCATENAT  'XXXX' RETURN-MESSAGE INTO RETURN-MESSAGE.
    ENDIF.
    Option2: Create a Z class.
    IF RETURN-TYPE = 'E' AND RETURN-ID EQ 'RM' AND RETURN-MESSAGE = '149'.
    RETURN-ID = 'ZID'.
    RETURN-NUMBER = 'XXX' -> Number in Z class.
    RETURN-MESSAGE = 'your message'.
    ENDIF.

  • URGENT: how to get the database error message into application?

    Hi, pls give some idea:
    For example, the database is MS Access. When insertion failed, the getMessage() method of SQLException will print "General error", while the log file created by ODBC will be "[MICROSOFT][ODBC DRIVER]column ID no found in student table"(...just a example).
    So, how to get this message in our application?

    instead of using the getMessage method, have you tried something like this:
             try {
             } catch (Throwable t1) {
                System.out.println(t1.toString());
             }If that still doesn't work, you can always redirect the log entries into a textarea but then everything that appears in the log file will be redirected!
    ;o)
    V.V.

  • How to remove the unwanted error message probably from AOL?

    For the past several days very frequently I receive a message "service temporarily not available-try again later" When this message appears, in the bar address there is a very long url the beginning of which is: Https//my.screenname.aol"When this message appears and I write in any url in Safari browser the message reappears. However, if I click second or third time on "try again later" the AOL page is accessed.I downloaded a new copy of AOL,I tried to sign in using a different AOL screen name(I have several) and different password but it did not remedy the problem. I did not download recently any new software or updates to existing software.Any suggestions?

    For the past several days very frequently I receive a message "service temporarily not available-try again later" When this message appears, in the bar address there is a very long url the beginning of which is: Https//my.screenname.aol"When this message appears and I write in any url in Safari browser the message reappears. However, if I click second or third time on "try again later" the AOL page is accessed.I downloaded a new copy of AOL,I tried to sign in using a different AOL screen name(I have several) and different password but it did not remedy the problem. I did not download recently any new software or updates to existing software.Any suggestions?

  • How to customize the error messages in web analysis reports

    Does anyone know how to customize the error messages that web analysis shows ,
    I want to customize the below error message with a custom error message
    "Document does not exist or no authorization to open document.Error occurred while loading document"
    Does anyone know how to do this ?

    Rajesh,
    you may want to check these links
    How to the Change the Application Stopped Message
    How to Change the Dispatcher Running, No Server Connected Message
    http://help.sap.com/saphelp_nw70/helpdata/en/65/18fc3f9ec4e669e10000000a155106/frameset.htm
    Thanks
    Bala Duvvuri

  • Interactive Report validation error messages...

    Hi guys!
    I was looking for answer to this question for a long time now...is it possible to change the validation error messages in interactive report?
    With regards,
    PsmakR

    Hi,
    there are more validations than you think. Anthony Rayner has prepared a nice summary in a [url http://anthonyrayner.blogspot.com/2010/08/apex-40-enhancements-validating-form.html]blog post.
    You see in that post where and how to disable validations, but also, that you may not disable all of them. The only way to avoid all validations would be to implement the report yourself completely.
    The good news is, you can overwrite those messages. The following documentation tells you how to:
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/global.htm#CHDEDHBJ
    -Udo

  • Localising  Validation Error Messages

    Apex 3.1
    I'm trying to localise all my validation error messages.
    I've created an error message Datevalidation as type pl/sql expression.
    When I test the error message I just get DateValidation rather than my translated error message.
    How do I specify how to return an error message name which is translatable

    Hello Keith,
    I’m glad things are working for you, however …
    >> I realised that I had to change the validation error message type to function returning error text
    That’s a bit puzzling to me as this type of validation – function returning error message – is the least supported option in the APEX translation mechanism. Can you please describe how you translate the error message inside the PL/SQL code?
    Thanks,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • Validation Error Message of a data grid cell

    Hi,
    The validation error message of a cell of data grid does not
    appear around that cell but far away. How can I force the error
    message to be around the cell as it should be?
    Best regards
    Dr. Khaled

    Hi,
    You have to use OADailogue region to achieve this. Please follow below code units to create a dialogue page and display an error message.
    OADialogPage dialogPage = new OADialogPage(OAException.WARNING, message, null, "", "");
    String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
    String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
    dialogPage.setOkButtonItemName("DeleteYesButton");
    dialogPage.setNoButtonItemName("DeleteNoButton");
    dialogPage.setOkButtonToPost(true);
    dialogPage.setNoButtonToPost(true);
    dialogPage.setRetainAMValue(true);
    dialogPage.setPostToCallingPage(true);
    dialogPage.setOkButtonLabel(yes);
    dialogPage.setNoButtonLabel(no);
    java.util.Hashtable formParams = new java.util.Hashtable(1);
    formParams.put("foo","value");
    dialogPage.setFormParameters(formParams);
    pageContext.redirectToDialogPage(dialogPage);
    Thanks
    Bharat

  • Validation Error Message in OBPM 10GR3 Presentations

    Hi all,
    I have a presentation which has some fields as REQUIRED Fields... For e.g. the From Date field is required...
    I select "YES" for the Required option in the properties tab for that field in the presentation and also put a Validation Error Message which says " From Date Required".
    I thought that the Validation Error Message would show up when the date is no selected or filled..
    But instead the name of the variable used showed up.. i.e. TestObjectFromDate..
    Why is that so?
    How can I make the Validation Error Message show up instead?

    No this sounds odd, but you might find it's easier not to use the "Required" property for BPM Object presentation text fields.
    Try making the Submit button on the form invoke a method (instead of the default "submit" action). In the method, try this:
    if someField = null || someField = "" then
        // set the background of the field to red
        setBackgroundColor this
                  using componentId = "someFieldName",
                             color = "Red"
        focus("someFieldName")
        setVisible this
          using componentId = "errorTextField",
              visible = true,
              collapsed = false
        someErrorText = "Please enter a value in the field highlighted below"
    else
        submit("Submit")
    endThis would put your cursor in the offending field and make its background red. It also would make a text field visible on the presentation and set its value.
    This assumes that "someErrorText" is a String attribute of your BPM Object that is placed somewhere on the UI.
    Dan

  • How to populate User defined Error message

    Hi
    i have a requirement as follows,
    we have 2 types users(patient and doctor) some fields are mandatory for doctor and some of them for patient creation.
    when they miss some fields while creating doctor it has to throw error message saying " these fields arer mandatory for doctor " same will follow for patient.
    so can any body please tell me how to use the UDF error messages. (no external code).
    Thank you.

    IF b1 = 'Business One'.
      ASK question [here|SAP Business One SDK;.
    ENDIF.

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • How to Customize the Error Message when a user enters a wrong password

    Hi Gurus
    Pls Help out me that
    How to Customize the Error Message when a user enters a  wrong password ?
    I need the Help to Customize the messege ?
    How  we can do
    Pls Tell me indetail

    Firstly many appologies I have given you slightly duff information here, I had been editing the file above for email notification texts not logon / password texts.
    The file you need is actually a portal .par file and can be found in the deployment/pcd directory.  The file you need is called com.sap.portal.runtime.logon.par (with a .bak extension at this time). 
    You need to copy this file to a local machine and unzip the contents.  The files you need to edit are contained in a further jar file which can be found in the \PORTAL-INF\lib directory - it is called umelogonbase.jar.  It too needs to be extracted and the file you need to edit is logonMessages_xx.properties (where the xx is the language code you are using).
    In this file you will find lines like:
    NUMERIC_REQUIRED=Invalid new password (must contain digits)
    You need to identify which texts you wish to modify and edit the text to the right of the equals sign.  Once complete rezip the umelogonbase.jar file and then the com.sap.portal.runtime.logon.par (this time name it without the .bak extension.  Then logon to the portal and upload the new par and you should see your new logon messages.
    Haydn

Maybe you are looking for

  • How to view pdf file in java/jsp?

    Hello Everybody, Any one help me how to view pdf file in jsp using java application. I have pdf file c:\app.pdf. How can i display the pdf file. Please help me................. Thanks

  • How do i make the value increase by one at a time?

    Hello guys,i'm really new to Adobe Flash,i just started a few days ago and im making a minigame and i want to know how to make a value to increase by one at a time,what do i mean? For example if my Start Value is 20,then go to 21,then 22 and so on Th

  • ThinkPad W530 Wireless Driver Not Available for Download

    I have a ThinkPad W530 laptop running Windows 7 Enterprise 64-bit.  Machine type and model = 2438-4CU When I go to the driver list on Lenovo's website and click on it to download...it's unavailable...you can't download it.  The release date shows 3/2

  • Cannot select image map hotspot

    Hi Folks -- I have a Dreamweaver file with an image that has 3 hotspots. I changed the image and now need to change with size and placement of the hotspots. Dreamweaver Help says to use the Pointer Hotspot Tool to select a hotspot, and then drag a ho

  • Message received:   icloudexe.entry point not found.  Do you know how to fix?

    message received:   icloudexe.entry point not found.  Do you know how to fix?