App.response or xfa.host.response

Hi!
I used a response dialog box in my prior Acrobat forms. While converting (actually remaking) forms I found the corresponding xfa.host.response method in Adobe LCD. I get both methods to work in the form, but I suppose the xfa method is recommended. The only issue is that I feel less comfortable with the layout of the new response box. Is it possible for me to take away all the warnings displayed in the new response box?
best regards,
Håkon

I don't think you can get rid of the warnings...

Similar Messages

  • Getting rid of "Warning:  JavaScript Window" when using xfa.host.response()

    When I use xfa.host.response() I get that javascript warning. Is there a way to get rid of it?
    Thanks.

    The only way I know of to get rid of this warning is to Certify the document. Once the document has been certified, any javascript interaction either through the Dialog Manager or xfa.host.response will not have the warning.
    However, The only way to certify the document is to use Document Security Server or manually through Acrobat by adding a blank signature.
    I also dont know if this will work with Dynamic forms without breaking the certification. It worked in Static / Acrobat 6 compatible PDF's.
    Any scripting or dynamic rebuild of the form will break the certification and the message comes back.
    So basically, stick with the warning for now or else you need to make sure you revalidate the signature after EVERY piece of script using the signatureValidate() method of the AcroForm Field.

  • Remote host response timeout

    help !
    os: IBM AIX (japanese version)
    app server: IBM WEBSphere 3.5(japanese version)
    connection pools: com.ibm.servlet.connmgr.IBMConnSpec
    com.ibm.servlet.connmgr.IBMConnMgr
    sourse:
    spec = new IBMJdbcConnSpec(poolName, true, jdbcDriver,url, printer_user, printer_pass);
    connMgr = IBMConnMgrUtil.getIBMConnMgr();
    cmConn = (IBMJdbcConn)connMgr.getIBMConnection(spec);
    dataConn = cmConn.getJdbcConnection();
    stmt = dataConn.createStatement();
    error message:
    java.sql.SQLException: I/ONc30$G$9!#: remote host response timeout
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
    at oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnection.java)
    at oracle.jdbc.driver.OracleConnection.CreateStatement(OracleConnection.java)
    this error is not always ocurred, just sometimes. please help me ,
    thanks.

    help !
    os: IBM AIX (japanese version)
    app server: IBM WEBSphere 3.5(japanese version)
    connection pools: com.ibm.servlet.connmgr.IBMConnSpec
    com.ibm.servlet.connmgr.IBMConnMgr
    sourse:
    spec = new IBMJdbcConnSpec(poolName, true, jdbcDriver,url, printer_user, printer_pass);
    connMgr = IBMConnMgrUtil.getIBMConnMgr();
    cmConn = (IBMJdbcConn)connMgr.getIBMConnection(spec);
    dataConn = cmConn.getJdbcConnection();
    stmt = dataConn.createStatement();
    error message:
    java.sql.SQLException: I/ONc30$G$9!#: remote host response timeout
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
    at oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnection.java)
    at oracle.jdbc.driver.OracleConnection.CreateStatement(OracleConnection.java)
    this error is not always ocurred, just sometimes. please help me ,
    thanks.

  • I am trying to purchase os x lion from app store. Getting a response saying I need 2GB memory available but I have at least 40GB free space??

    I am trying to purchase os x lion from app store. Getting a response saying I need 2GB memory available but I have at least 40GB free space??

    Memory = Ram, the 40G free space you are referring to is hard drive storage space available, 2 very different things.
    In order to run Lion you MUST have at least a Core 2 Duo processor and 2G of Ram, to find out whether you qualify (and it seems as though you don't) go to
    Apple>About this Mac: you will be able to see the processor type and Ram installed thus
    If you have less than 2G of Ram you can install more, if however you have a Core Duo (instead of Core 2 Duo) you can not run Lion.

  • Want to get a free app but keep getting this response ' we could not complete your itune store request an unknown error occured (-9808)'

    Want to get a free app but keep getting this response ' we could not complete your itune store request an unknown error occured (-9808)'?

    I've done a search on here and haven't found any solutions posted for it for windows computers. You could try posting in the iTunes For Windows forum and see if you get any suggestions in there (are you able to download other items from the store e.g. a free app ?) - I use a Mac, the only things that I could think of to suggest trying is see if you get the same error on a different iTunes library :
    creating and/or opening a different iTunes library : http://support.apple.com/kb/HT1589
    or using a different user account on your computer in case it's a problem with that user account.
    But you may want to try the iTunes For Windows forum first, apart from anything else you are likely to get better help for the above

  • Xfa.host.print not working as expected with Reader8!?

    Hello,
    I have a two pages form created a while ago with Designer 7.1. When the Print button in the form is clicked, only the last page is printed. We now upgraded to Reader 8.0, and I tested my forms with it. All works fine except the print-out. It always prints both pages. It seems that the properties set in xfa.host.print are totally ignored. Any one having the same problem? Does somebody know the reason or a workaround for that?
    Thanks!
    Kind regards, Karin

    Hello Ivan,
    I got a response: It is a bug in Reader 8.0. It should be fixed in Reader 8.1
    Regards, Karin

  • Xfa.host.openList

    Hi everyone.  I am using this in the "enter" event for my dropdown list:
    xfa.host.openList("Dropdown2");
    When I tab onto that field, the list does open but only for a quick second and then closes.  Does anyone know how I can make this list stay open?
    Putting that code in the MouseEnter event works too but that will not work if I'm using "tab".
    Thanks so much in advance!

    Thank you so very much for your response however placing the code in the "initialize" event causes the same issue.  The drop down list will open for a split second and then close.  Any other assistance would be GREATLY appreciated.

  • How to change appearance of xfa.host.messagebox

        Is there anyway to apply a different look to the xfa.host.messagebox ?  It is pretty, um what is the word ..... -- ugly. That is the word
    Any help would be very appreciated.
    Thanks

    Hi,
    The url that Steve gave above takes you to the Help file for LC Designer.
    You put the messageBox line within your script when you want to alert the user to something or to give them a choice. for example you could put the script within a calculate event to let the user know the value of a hidden variable:
    xfa.host.messageBox("This is a message", "This is a title", 3, 1);
    The help file sets out the four different options for the last two parameters (which can be used in any combination).
    xfa.host.messageBox("This messageBox uses:\n\nParameter 3 = 1 (Warning) and Parameter 4 = 1 (OK, Cancel)", "Hello World!", 1, 1);
    The "\n" will insert a return (new line).
    Scripting for additional features within a dialogue window can be achieved using the Javascript Dialog Object; however this is getting quite advanced. The AcroDialog product from Windjack Solutions does make this process easier.
    The messageBox returns a number depending on which button the user clicks:
    Returns 1 if the user clicks OK;
    Returns 2 if the user clicks Cancel;
    Returns 3 if the user clicks No;
    Returns 4 if the user clicks Yes;
    On this basis you can script actions depending on which button the user clicks in your messageBox, by asigning the returning value to a variable and then looking at the value of the variable. For example in the click event of a button on the form:
    var nButton = xfa.host.messageBox("You are about to delete this row.\n\nDo you want to continue?", "DELETE ROW", 3, 2);
    if (nButton == 4) // Hitting the Yes button returns 4
         _dyndetail.removeInstance(this.parent.index); // proceed with delete
    The above deals with LiveCycle Designer. If you are scripting exclusively in Acrobat then you could use the app.alert(); method, to display your message.
    Hope this helps,
    Niall

  • Use xfa.host.beep to trigger two consecutive beeps?

    Seems like this should be pretty straight forward but apparently not.
    I've tried various combinations, placing xfa.host.beep(1) in:
    - consecutively in the click event of button;
    - separately in the mouseUp and click event;
    - placing xfa.host.beep into a function and calling the function twice
    - calling the function then xfa.host.beep(1);
    Even tried xfa.host.beep(1) in the click event of Button1 and then executing the click event of hidden Button 2, which contained xfa.host.beep(1).
    Any work around suggestions? Thanks!
    Brian

    Hi,
    You could pass in the xfa.host object so you could call the beep() method.  But in a custom dialog the setTimeOut doesn't work, so you could try looping for half a second between beeps.
    function dialog()
    var dialogDescriptor =
      description:
       name: "Beep Test",
       elements: [
         type: "button",
         item_id: "beep",
         name: "Beep Beep",
         type: "ok",
      beep : function(dialog)
       dialogObject.host.beep(1);
       var startTime = Date.now();
       while (Date.now() - startTime < 500) { }
       dialogObject.host.beep(1);
      validate : function(dialog)
       //add validate code here
       return true;
    var dialogObject =
      execDialog: function() { return app.execDialog(dialogDescriptor); },
    return dialogObject;
    var d = dialog();
    d.host = xfa.host;
    d.execDialog();
    Acrobat also has an app.beep(1) which you could use.
    Regards
    Bruce

  • Acrobat Reader 7.0.3 and xfa.host.exportData("",0);

    I have a lot of forms that I have made with Designer 7.0. Each of them has 'Export XML' button that has the following code
    xfa.host.exportData("",0);
    So far people with Acrobat Reader clients have been able to export form content to XML file, but now it seems that after some update (7.0.3) this is no longer possible?
    Is this really so?
    Br,
    Kari

    Hi!
    No, it is no so.
    At least it works fine with my forms. I have trouble with the
    xfa.host.importData();
    which gives me an error message even though it works.
    Håkon

  • Xfa.host.gotoURL() in Adobe Reader / Dynamic Tables with AcroForms?

    Hi All,
    I have a dynamic table in my LifeCycle form. Each table row contains a button that links to an external PDF file (using xfa.host.gotoURL). The links work fine in Acrobat 8 Pro, so far, so good... But when clicking the buttons in Reader 8, nothing happens. No error message or security warning, nothing...
    I searched the web and some forums for this problem and by reading between the lines of some posts I came to guess that my LifeCycle form will not work in Adobe Reader unless I purchase the respective LifeCycle Extensions license... :-/
    What exactly are my options now? Can I get the buttons to work in Adobe Reader somehow (using JS) without having to purchase the Reader Extensions? Or can I somehow recreate the dynamic table of the LifeCycle form using AcroForms in Acrobat 8 Pro to avoid the problem? If so, how do I add such a table using Acrobat's form tools...?
    Thanks for your help,
    Marcus

    Normal http://... URLs do indeed work, but relative URLs pointing to local files do not work with the Adobe Reader on my machine. I thought this might be due to a security restriction that can only be overcome by using the Reader Extensions...?
    Is there any other way of linking to other PDFs on the local machine than the gotoURL method? I also tried launchApp(), but it didn't work either.
    I currently use this statement to link to PDFs in a subfolder:
    xfa.host.gotoURL("TrainingGuides/"
    + docName + ".pdf", 1);

  • Error when adding form responses in an existing response file

    Following the announcement of the retirement of FormsCentral, I am testing Acrobat XI Pro to distribute PDF forms.
    I followed the steps proposed in this tutorial: https://acrobatusers.com/tutorials/how-to-distribute-existing-pdf-forms
    Everything works fine until I try to add the responses in an existing response file. I select the received files in the dialog box an when I clik on "OK" the progress bar appear then Acrobat Pro freezes.
    I tried different forms, all exported from FormsCentral and still encouter this bug/issue.
    Any hint?

    These are the current privs for that user:
    ALTER DATABASE
    ALTER SESSION
    ALTER USER
    CREATE ANY CONTEXT
    CREATE ANY DIRECTORY
    CREATE CLUSTER
    CREATE DATABASE LINK
    CREATE DIMENSION
    CREATE INDEXTYPE
    CREATE JOB
    CREATE LIBRARY
    CREATE MATERIALIZED VIEW
    CREATE OPERATOR
    CREATE PROCEDURE
    CREATE PUBLIC SYNONYM
    CREATE ROLE
    CREATE SEQUENCE
    CREATE SYNONYM
    CREATE TABLE
    CREATE TABLESPACE
    CREATE TRIGGER
    CREATE TYPE
    CREATE USER
    CREATE VIEW
    DROP ANY DIRECTORY
    DROP PUBLIC SYNONYM
    DROP TABLESPACE
    DROP USER
    EXECUTE ANY PROCEDURE
    SELECT ANY DICTIONARY
    SELECT ANY TABLE
    UNLIMITED TABLESPACE

  • Xfa.host.SetFocus question.

    I have a code on Exit event of the field that checks if 5 digit US ZIP code, 5 digit US ZIP code + 4, and 6 digit alphanumeric Canadian Postal Code.
    If user enters valid 5 digits code, then I set focus to specific field-FField1. Code is simple and it works. What does not work is, if I tab out , without entering anyting in the Zip code, the focus is set to some other field, not FField1. How can I force it with the code that focus is set to FField1 all the time.
    Code is simple:
    var regExpDate = /^\^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$ $/;
    var vMatched = this.rawValue.match(regExpDate);
    if (!vMatched){
    this.rawValue=null;
    xfa.host.messageBox("Enter the following format: 99999 or 99999-9999 or A9A 9A9 );
    xfa.host.setFocus(this);
    else
    xfa.host.setFocus(form1.subform1.FField1);

    Hi again 1996,
    You can use setFocus multiple times in the exit event, and the last one that is called is where you end up. I would suggest putting the 'default' tab before all of your logic, to ensure that it's the one that gets called when the field is valid:
    i.e.:
    xfa.host.setFocus(form1.subform1.FField1);
    var regExpDate = /^\^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$ $/;
    var vMatched = this.rawValue.match(regExpDate);
    if (!vMatched){
    this.rawValue=null;
    xfa.host.messageBox("Enter the following format: 99999 or 99999-9999 or A9A 9A9 );
    xfa.host.setFocus(this);
    This way, unless vMatched is true and the second setFocus is called to override the first, your user should always be sent to FField1.
    I know that this isn't a part of your question, but I'd like to suggest avoiding the 'thou shalt not pass until...' situations. What if your user doesn't know the postal/zip code, and wants to fill in the rest of the form before finding it? They could enter dummy data to get past your requirement, but then there's a chance that they'll forget to replace it with the real value. Altogether, I think it's better to check for invalid data in the pre-save/pre-submit events, and warn them of the required fields then.
    Also, consider only calling setFocus for when the user is tabbing away from fields. If you manually call setFocus to control the tab order from all fields (I do this for all of my forms, as I find that dynamic forms don't play nice with the tab order) then use:
    if (xfa.event.commitKey == 3) then
         xfa.host.setFocus("$.parent.NextFieldName");
    endif
    This way, if the user clicks on another field that they want to fill next, they won't be redirected to the one you chose for them.
    Sorry for the unsolicited advice... These were just some of the things that I've had to deal with in the past.
    - Scott

  • Xfa.host.exportData function

    Hello all,
    I have a problem related to the function xfa.host.exportData:
    My scenario is the next:
    - I have done a form with several fields.
    - A determined user open this form and fill up the fields.
    - That user, is able to send form via PDF or save as XML.
    In Acrobat Professional 8, there is no problem in order to do these functionalities but in Acrobat Reader 9, the user cannot save the data as XML.
    I placed the function xfa.host.exportData("",0) in the click event of a check box.
    I would like to know if there is any way to get the same functionality in Adobe Reader than Adobe Professional.
    Many thanks in advance.
    Best regards.

    Hi,
    Unless the form is Reader Enabled in LC Reader Extensions ES2, then users with Reader will not be able to export XML data.
    There is a summary and PDF here:
    http://www.assuredynamics.com/index.php/2010/11/using-livecycle-forms-in-acrobat-and-reade r/
    So the only way you will get this to work in Reader is to Reader enable the form in LC Reader Extensions ES2. Reader enabling in Acrobat Professional 8 will not work.
    Hope that helps clear that up,
    Niall
    Assure Dynamics

  • Xfa.host.exportData and Reader

    I've created a dynamic xml PDF form in Adobe LiveCycle designer.
    Inside the form I placed a button and on the click event I call xfa.host.exportData("",0);
    Then opened the file in Acrobat Professional, clicked the button and it works Yay! Then I Saved Other as Reader Extended PDF.
    Opened the newly saved file in Reader XI and when I click the button the JavaScript console spit out the following error:
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.exportXFAData:-1:XFA:form1[0]:page3[0]:Button1[0]:click
    This is really annoying and could use some guidance.

    Take a look at the documentation for Doc.exportXFAData():
    http://help.adobe.com/livedocs/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/common/htm l/wwhelp.htm?context=Acrobat11_HTMLHelp&file=JS_API_AcroJS.89.470.html
    As you can see from the "F" in the Quickbar, the document would need "Forms
    Rights" for this to work in Reader (
    http://help.adobe.com/livedocs/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/common/htm l/wwhelp.htm?context=Acrobat11_HTMLHelp&file=JS_API_AcroJSPreface.88.8.html).
    You need LiveCycle Reader Extensions to assign those rights.
    Unless you can assign form rights to your document, this will not work in
    Reader.

Maybe you are looking for

  • AP Payment to Generl Ledger (11i)

    Dear All, if I know the payment number and the payment has been transfered to general ledger, How can I get the journal batch name and journal name of the payment journal? Could someone comment? Thanks & Best Regards, Jerome

  • I participated in the mountain lion free upgrade for new mac owners but the password is too long to unlock the content code. HELP!!!

    i participated in the mountain lion free upgradde for new owners but i cannot open the content code because the password is too long! HELP!

  • Runtime Sharing & Component Inspector Bug

    I'm not sure if this is a bug with Flash or me doing something wrong. Here are the steps to reproduce: 1) Create "Source.fla" draw a box on the stage and convert it to a movie clip. Call it "Component" export Component for actionscript. Give make the

  • IWeb and non-iWeb files @ same site?

    I have modified my CNAME at my personal domain site to forward to MobileMe, and I am not having any problems with that aspect. What I am wondering is ... can I have both iWeb files and non-iWeb files at the same site and still use MobileMe? Basically

  • Hi Good Site

    Thanz To all in advance. Can anyone tell the name of the site by which I can post my doubt and get answers by paying for that. I heard that ,there is a site for that. Lovely