Warning message in Adobe form

Hi ,
My form is accessed through portal.
I want a warning message to be displayed when there is no data in the dropdown.
The message can be given
1. At the start when the form opens up  Or
2. When the user clicks on the dropdown.
Please help me with this.
Points will be rewarded for useful answers.
Thanks.

Thomas,
In the initialize event of your drop-down put following code.Change language to javascript.
        var DataBinding = this.bind.ref;
     // the data binding may contain "$data.<root data name>" instead of $record
     DataBinding = DataBinding.replace("$data."+xfa.record.name,"$record");
     DataBinding = DataBinding.replace("$record.", "");
     var itemNode = xfa.form.resolveNode("xfa.datasets.data."+xfa.record.name+".sap-vhlist."+DataBinding.replace(/(\.)/g,"\\.").replace(/(\[\*\])/g,""));
     var size = 0; 
     try
         size = itemNode.nodes.length;
         xfa.host.messageBox("Size is :"+size);
         if(size == 0)
              xfa.host.messageBox("Month is empty");
     catch(e)
          xfa.host.messageBox("Error");

Similar Messages

  • Curious Warning Message From Adobe Flash Player

    Hello everyone.
    I have been getting a warning message that pops up every 3 or 4 days for the past couple of weeks. The message reads as follows:
    "Adobe Flash Player has stopped a potentially unsafe operation. The following local application on your computer or network:
    (object)
    is trying to communicate with this internet-enabled location:
    "mail.yimg.com"
    To let this application communicate with the internet, click settings.
    You must restart this application after changing your settings.
    I am then presented with two boxes, one that says OK and one that says SETTINGS.
    I have the latest Flash Player for 10.6.7 and have been clicking on OK and have never clicked on Settings because I have no idea what the object is ( the so-called local application is not listed or described) and I don't know what is meant by "this internet enabled location called ,ail.yimg.com. I don't click Settings because I'm concerned that I may be allowing an unauthorized communication with my computer.
    Any information or recommendation to explore this problem will be greatly appreciated.
    Thanks. Rich

    I am familiar with the Adobe Flash Player Settings Manager where I have always limited the amount of space for sites to store information on my computer. In all cases also, I have checked the box to "always ask" before allowing sites to communicate with my computer. Most of these settings seem to involve the camera and microphone both of which I never use.
    The document you sent me is very helpful but my problem is that the local application on my computer that is apparently trying to communicate to Yahoo Messenger is not named. It is simply called "object." The fact that it is unidentified makes me want to just click OK and not proceed any further to change any settings. I have added a picture of it to this e-mail. No one here uses Yahoo Messenger or Yahoo Mail.

  • Popup warning message

    Hi i have to give a warning message in the form of popup, in user exit , can any one suggest.

    Use one of te POPUP* function modules. Warning message will not popup but will be displayed in the status bar.
    If you don't want to use POPUP FUNCTION, then give the same warning message twice, then first message will popup, not the right way of doing it though.
    Regards,
    Ravi
    Note : please mark all the helpful answers

  • Don't know how to repair "Warning" message

    Hi all,
    I opened a file using Adobe Acrobat 8.2, which came on a new Dell laptop I purchased just before the holidays. Just as I started to move the side cursor to advance the page a warning box appeared that said:
    Warning: A serious error has been detected and Adobe Acrobat 8 Standard cannot continue. Please reinstall the application and try again." When I click OK it closes the whole pdf file.
    I can't reinstall anything as I have no disk - the laptop didn't come with anything - all programs were preloaded. What do I do and how can I reinstall Adobe Acrobat?
    I've run all my cleaners, debuggers, defraggers, malware, etc and everything is clear. I really need help as I can't open school documents without this! Help! I truly appreciate it!

    Thank you, Anubha.To tell you the truth, I wasn't thrilled with the prospect of paying around $500 to get the newest version. Something interesting happened this afternoon, though, when I opened my laptop. As soon as it connected to the internet, a request for Adobe update popped up, and I watched in great surprise as it automatically "removed" files and then "re-installed" files.
    Bottom line, everything is working again. I don't know whether there is some feature that detects when a repair is needed, but a repair it did!Thank you again and thank you to the Adobe gods!Art
          From: Anubha Goel <[email protected]>
    To: Art627 <[email protected]>
    Sent: Wednesday, March 25, 2015 10:13 PM
    Subject: You have been mentioned by Anubha Goel in Re: Don't know how to repair "Warning" message in Adobe Community
    |
    You have been mentioned
    by Anubha Goel in Re: Don't know how to repair "Warning" message in Adobe Community - View Anubha Goel's reference to you  Hi Art627, I am sorry but Acrobat 8 is a very old version and Adobe no more provides support for this product.You might find download link for Acrobat 8 pro on Adobe's Other downloads link, but not for Acrobat 8 standard.Please let me know what is your OS version.I would suggest you to install and use the latest version of Acrobat i.e. 11.0.10 which is compatible with your OS as well as offers enhanced features and functions. Choose to download a 30-day free Adobe Acrobat trial version from here:Download Adobe Acrobat free trial | Acrobat XI Professional Now, see how it goes. Regards,Anubha 
    Participate in the conversation by replying to this email
    To stop receiving these messages whenever you are mentioned, go to your preferences and disable notifications for direct social actions. |

  • Standard warning messages in Vendor Request Form

    Hi All,
    Please let us know, how are the standard warning messages in Vendor Request Form while creation/search are displayed.
    For example, I am getting an soft warning message text, at vendor creation which says "Some of the records were not found; for more information, check the log".
    Here we don't have any log traces to be checked for, and we have verified the back end record resultset count which is same, irrelevant of the warning message being shown.
    These messages are displayed only at two places:
    1) The search navigation page, where all the searched record results are displayed and we continue further for creation of vendor workflow.
    2) When the workflow of vendor creation is completed, along with the "Workflow has been completed" success message, this warning message is also shown.
    I want to know, from where these messages are being populated and how to suppress these messages.
    Kindly suggest.
    Thanks in advance!
    Message was edited by: Oxana Noa Zubarev

    Hi All,
    Attaching the screen shot for refernce:
    After we click on "continue with create/edit" button, after few details have been entered, the work flow completes.
    There are we are getting these error message as highlighted above.
    Let me know if any info from my end would help in getting the root cause.
    Thanks in advance.

  • Error message: Warning 20225. Adobe Acrobat 7.0 Setup was unable to create a new item: Adobe PDF Por

    Error message: Warning 20225. Adobe Acrobat 7.0 Setup was unable to create a new item: Adobe PDF Port-Printer. The Adobe PDF Printer may be unavailable. I'm using the original CD to set up

    And on what system? Acrobat 7 is not compatible with Windows 7, if that's what you are using. You need to upgrade then.
    Mylenium

  • Please wait message when opening form created by Adobe LiveCycle Designer ES 9.0

    Problem
    Please wait message when opening form created by Adobe LiveCycle Designer ES 9.0
    Full message
    Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting  http://www.adobe.com/products/acrobat/readstep2.html. For more assistance with Adobe Reader visit  http://www.adobe.com/support/products/ acrreader.html. Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S
    Actions
    Updated Windows RT 8 to 8.1
    Uninstaled Adobe Reader Touch 1.3 and instaled 2.0 Build 84770
    Additional Information
    The form was created 10 or 11 months ago, and we are pretty sure that we were able to open it a while back
    The same PDF file opens just fine in Windows 8.1 using Adober Reader XI 11,0.06, it is only the app that is affected.
    The document cannot be opened by any other mobile app that we have tried or on another mobile OS (iOS)
    Any ideas?
    Thanks & Regards
    Jim

    The user's assertion is surprising to me, but perhaps I'm missing something important. I thought the correct position was from the conclusion of my earlier post "it can't be done". Adobe state their Reader Touch doesn't support XFA (http://blogs.adobe.com/readermobile/2012/12/13/adobe-reader-for-windows-8-tablets/). Unless (see that blog entry) you changed the type of form.

  • I have adobe xi pro, but i can´t edit a form create with adobe 8.0, the message is this form can´t be edit with adobe, use adobe livecycle designer. need I to buy another program?

    I have adobe xi pro, but i can´t edit a form created with adobe 8.0. The message is: this form can´t be edit with adobe, use adobe livecycle designer. need I to buy another program?

    If the form was created using LCD then it can only be edited there. This
    application used to be bundled with Acrobat Pro, but that's no longer the
    case. So if you want to edit this file then you need to purchase it, yes.
    On Sat, Apr 4, 2015 at 6:39 PM, monicad4417911 <[email protected]>

  • How to add warning message while using 'print' function in Adobe LiveCycle Designer

    I am trying to make pdf document for my company which requires adding a warning message while anyone use 'print' function from the page...
    Does anyone know how to add warning message on LiveCycle Designer
    Also my supervisor mentioned something using 'nag' if that rings any bell

    No you shoudl never go into the XML source unless uinstricted to do so.
    You can open the script editor (under the window menu). It will appear above the drawing area but below the toolbars. You can resize it if there is not enough room. When you click on an object in the form you can choose an event to script against in the Show dropdown. In your case you will want to choose the prePrint event. A line will show up that indicates the object that is associated with the script as well as the event and other information. Add your script below this line. Once that is done you are finished and your form is ready for testing.
    Paul

  • Trying to export my forms results to excel  error message is adobe can not save as the file is open

    trying to export my forms results to excel, error message is adobe cn not save as the file is open in another location,   however, no other file is open.

    Thanks for continuing the help, but it is a medical realted form and I will just keep it confidential at this time.
    Larry Lakes,  Executive Director
    The HANDLE Institute
    [email protected]
    541-639-1588
    P. O. Box 6264
    Bend, OR  97708

  • Execute Custom code to do a warning message on SSHR Manager Appraisal form

    Hello - I do not know much about Java/OAF, but I'm really trying to learn! Here is my requirement,
    please help me in getting this done.
    Requirement : On Employee appraisal form, they will have their yearly objectives and their weight percentages.
    These objectives weight percentage is in per_appraisal table attribute1 field(DFF).
    The total weight percentage of an employess all objectives should be equal 100.
    When manager will login to give them a final rating, the total of all weights percentages should be equal to 100,
    if not I have to through a warning message on the Manager's appraisal form(CompFinalRatingsCO).
    To calculate the total weight, we can certainly write a small pl/sql function or a procedure.
    But how can I execute that code and show a warning message on SelfService HR Manager Appraisal form?
    Thanks in advance for your help.
    Thanks
    - Srini

    1) extend the CO attached to your page.
    2) Capture the Button in Processformrequest of your extended CO.
    3) Call a plsql function or procedure with OUT param which will return whether 100% weightage has been entered or not.
    If Not, then throw warning message.
    Here is the way to call Plsql proc with OUT param.
    String sql =
    "BEGIN bcr12_mapping_tool_procs_pkg.XXBCR12_HAS_MANDATORY(:1,:2); END;";
    OracleCallableStatement cs =
    (OracleCallableStatement)am.getOADBTransaction().createCallableStatement(sql,
    1);
    try {
    cs.registerOutParameter(2, 1, 0, 2000);
    cs.setString(1, int_name);
    cs.execute();
    String new_status = cs.getString(2);
    cs.close();
    if ("Y".equals(new_status.trim())) {
    throw new OAException("Please enter all mandatory column highlighted.",
    (byte)0);
    } catch (Exception ex) {
    throw new OAException(ex.getMessage());
    }

  • Message while processing Adobe form

    Hi,
             I am trying to display error message while running through an adobe form. Am using the below code to display the message but its running through the code and not display any kind of message. Just wondering if am missing any thing.
    DATA message_handler TYPE REF TO cl_hrbas_message_list.
    DATA: message_dummy1 TYPE string.
      DATA new_message TYPE symsg.
    CREATE OBJECT message_handler.
    MESSAGE e115(z_msg) INTO message_dummy1.    
    MOVE-CORRESPONDING sy TO new_message.    u201Cgetting the desc of msg. in new_message
    CALL METHOD message_handler->if_hrbas_message_handler~add_message
                      EXPORTING
                        message = new_message.
    Thanks,
    Kumar

    Hi,
    I have used the same kind of code as shown below. For me it triggers perfectly.
    data :      MESSAGE TYPE SYMSG,
                     MESSAGE_DUMMY TYPE STRING.
    MESSAGE E003(Z_EE_TEST) WITH INTO MESSAGE_DUMMY.
              MOVE-CORRESPONDING SY TO MESSAGE.
              MESSAGE_HANDLER->ADD_MESSAGE( EXPORTING MESSAGE = MESSAGE ).
              RETURN.
    Also please confirm whether the message class has been created correctly.
    Regards,
    Prabu

  • Problems showing an ADObe Form (Eternal Initializing Message)

    Hi Forum
       I have an adobe form that is called from an ECC Report.... by a  link.... when the form is opening i get a message "Initializing" and the form is never showed....
        I put in the url parameters j_user=ADSUser&j_password=mypassword and the form is showed perfectly...
       I checked .. the ADS Configuration.. and all is correct... .with all and tests...
    Thnsks..
    REgards

    Install Kerberos, problem authentication.... 
    Solved

  • Adobe Forms Error Message 'Error when transforming object data'

    Hi,
      When i tried to save(Adobe Forms) after making changes in Layout its giving an error message 'Error when transforming object data' and takes me out of the transaction. How do i solve this ? Can anyone help me out.
    Thanks and Regards,
    Franklin.

    hi
      I have the same problem , plz help me out
    thanks

  • Adobe Forms:Removing Warning:javascript from messagebox

    Hi,
    We are woking in Adobe Forms. In the form, messageboxes appear on the click of the button or certain radiobutton click.
    our requirement is that we want to remove the warning:javascript from the messagebox.
    It just needs to be appearing as Help or Error without the preceeding Warning:javascript.
    Your help would be highly appreciated.

    Hi,
    Thanks for your input.
    I tried to create custom dailog box by referring to the following link:
    http://www.acrobatusers.com/tutorials/2006/popup_windows_part5
    But still, in thse dialog boxes also, Warning:Javascript Window appears as a title as well as at the bottom of the dialog box.
    This doesn't serve my purpose of eleminating Warning:Javascript Window.

Maybe you are looking for

  • How to stop a pop up window if the session expires

    Hi I have a situation wherein i have my jsp page. in that i have a button on clicking it a pop up window will open to take a input parameter. Now what we want is that if the session is not valid than the pop up shud not open. Currrently what is happe

  • Loading a cd to i-tunes

    Hello,this is a simple process except that i-tunes seems to put the songs i load from a cd all over the place.all i want to do is put cds into their own file or page so i can easily access these cds when i need to.all i need is for the program to loa

  • NEED STATIC VARCHAR IN PRO C/C++

    Hello All, I need a static VARCHAR in a C++ Base class to be used by derived classes. I'm having trouble defining the static initializer.. class MyBase { public: EXEC SQL BEGIN DECLARE SECTION; static VARCHAR myBuff [ 10000  ] ; EXEC SQL END DECLARE

  • How to limit the number of characters entered in a JTextfield???

    Hello there, I have created a Text box using swing component JTextField and I want to limit the number of characters entered to 8 characters..how do i proceed with that? Thanks in advance! Joe

  • No arrange option for Displays

    I am using Keynote for presentations and want the presentation option on my laptop. When I have the laptop connected to the projector and go to OS X Display Preferences there is not an option to arrange the displays. How do I disable the mirroring fu