0 Replies Latest reply on Oct 20, 2009 9:29 AM by muggel_mail

    Message box after connection error within submitForm()


      Hello everybody,


      I submit form data by using doc.submitForm(). If the target server is online everything works as expected. The problem is that I get a message box saying "An error occured during the submit process..." in case the server is down. Is it possible to somehow disable this alert? I tried encapsulting the submitForm() call with a try-catch section but the error still is presented to the user. In my scenario its quite ok if the user is not bothered with the connection error.


      A workaround would be to first check the availability of the server and then send the form data. Is that possible with the acrobat java script api?


      Thanks for your help and best regards,