Add redirect to Submit button on PDF Form

I need someone that knows javascript to help me out! 
I have saved the FormsCentral PDF Form locally and opened it up with Acrobat Pro XI, saved it as a copy, and then opened the new document in Acrobat Pro XI.  I am able to see the javascript that the FormsCentral Submit button placed in the form.
How can I get the submit button to do what it is supposed to do (below), but then when its completed it should redirect to a different web page that I specify in the javascript code - in the SAME window, not in a new window.
The submit button javascript code looks like this:
var url = 'https://adobeformscentral.com/pdfsubmit?f=bbbbbbbbbbbb';
var qParams = '&os=' + app.platform + '&sl=' + app.language + '&spv=1';
var fIndex = url.indexOf('#FDF');
url = url.substr(0, fIndex) + qParams + url.substr(fIndex);
var charset = 'utf-8';
if (app.language == 'JPN')
charset = 'Shift-JIS';
this.submitForm({cURL:url, cSubmitAs:'HTML', cCharset:charset});
Do I need to add a location.href = "http://mydomain.com/completedpdf"; to make the current window then load the completedpdf web page?  And how do I add the command to the end of this javascript?
Or is there some other javascript I should use?
Thank you for your help!
R

This is a question that is better suited for the Acrobat forums. 

Similar Messages

  • Help with submit button on PDF form

    I created a form via the Forms Central desktop app then saved it as a PDF to my desktop.  When opening in Adobe Acrobat XI Pro, I noticed that I am unable to include a submit button - it does not let me edit the PDF.  I've tried going back into Forms Central and adding a submit button, but that feature is not available anywhere.  Any suggestions?
    PS - My preference is to have the responses returned to me, not my Forms Central account.
    Thanks so much.

    Hi;
    OK - I can clarify some things and tell you how to do what your looking for. 
    The desktop FormsCentral application tools are really designed towards create forms that do collect data on FormsCentral servers.  You can still easily create PDFs that do not submit data to FormsCentral, but you'll have to add any alternative submit functionality using the Forms tools in Acrobat.  You can create a PDF without the submit button in either case, signed in/out of the Desktop Application from the "File" - "Save as PDF Form" menu item.  You can then modify the PDF in Acrobat XI Pro by doing a "Save A Copy", when you open the copy you can edit it any way you like, adding a "Submit" button that email's the PDF/Responses back to you...
    Here's how: In Acrobat open the PDF you saved from the FormsCentral Desktop application and go to "File" - "Save a Copy" and choose a location, this will remove the security.  Open up the copy you just created and you can now edit it, here is a YouTube video tutorial using Acrobat XI, he covers the email button in about two minutes, there are lots of tutorials out there but this one is easy to follow:,
    http://www.youtube.com/watch?v=Jql1wp5Gofs
    Thanks,
    Josh Corey
    FormsCentral Team

  • Is it possible write code inside pdf form when click submit button in pdf form

    can write code to pdf form
    for eg:
    we have to write code in Excel sheet using Macro features Like that any possible to write code in pdf form
    when i downloaded pdf form from site then filled up the details then click the save button the pdf form will send to the corresponding server then stored in DB
    pls reply me soon

    You have posted in a completely wrong forum. This one is exclusively for participants testing features of the site.
    You may want to try reposting in the appropriate Acrobat forum, which you can find here:
    http://forums.adobe.com/community/acrobat?view=overview

  • Add logic to Submit button in web form

    We have created a form from scratch in FormsCentral. It has a fair bit of logic associated with questions in the application form.
    Some of the logic leads to the end result that an applicant should not be able to submit the form.
    The issue is, that as a web form - no matter how much logic we put up front to determine whether the applicant should continue flling out the form OR whether they can or cannot submit a form - the only option to get them out of the form (apart from Warning text "you cannot complete this submission online, please contact our call centre'.. sort of thing OR hoping that they press back on their browser OR click on another page in the website) is the appearance of the action buttons BACK and SUBMIT buttons.
    This results in a partially filled out response appearing in the response table and/or the email notification etc.. causing extra work for receiver - as they need to ensure teh applicant is aware that the form submission does not constitue a successful submission.
    Any options for us here in FormsCentral? (can we apply logic to the Submit button to Not Submit?)
    (or is it only something that can be solved through scripting logic into buttons on an Acrobat form?)
    Look forward to your response.

    In a web form it is not possible as you found with skip logic, and there isn't a way I can think to accomplish that.
    In PDF you could edit the script on the submit button - very carefully so as not to break submit when the form has been filled out correctly, and test it well after editing.  Here is some information on editing a FormsCentral PDF:  http://forums.adobe.com/docs/DOC-3661
    Thanks,
    Josh

  • Submit Button for PDF Form

    Good Morning All,
    I have created a simple form in Live Cycle with a submit button. Originally, I placed a "Submit by E-Mail" button and found that wasn't working at all. Then I tried placing a button and reconfiguring it as a submit button. The button I reated has the correct group e-mail address I want the form submitted to - the department's generic e-mail address. When I go to test the form it defaults back to my e-mail address. This is driving me crazy. What am I doing wrong???? Help, anyone.
    isidave

    Try using www.PDEmail.net
    Link: http://www.pdfemail.net/
    For complete control over your PDF Form submission e-mails, check out PDFEmail.net.

  • Schedule appointment in outlook with submit button in pdf form

    Hi All,
    One of our client wants that when submit button is clicked on the pdf form, an appointment should be created in outlook of a pre-specified email address.
    I am aware that we can submit the form by email. Is it somehow possible, that instead of normal email with attachment, we can send an appointment email.
    Looking forward to a response.
    Many Thanks,
    Akanksha

    I don't think this is possible. The only thing you can do from
    Acrobat/Reader is create a new email draft, not anything else.
    On Wed, Jul 17, 2013 at 1:36 PM, Akanksha Parmar

  • How do I add a functional "submit button" to a pdf form in Adobe Acrobat Pro XI ? I created the pdf form in Adobe Forms Central.

    How do I add a functional "submit button" to a pdf form in Adobe Acrobat Pro XI ? I created the pdf form in Adobe Forms Central. It's for an online Diet Questionnaire. After people complete the form I'd like them to click "SUBMIT" and the completed form will be emailed to me.

    This can be a bit confusing because Acrobat 11 comes with the desktop app that allows you to create simple PDF forms without having a FormsCentral account. Some people find this helpful, but you need to understand that when you generate the PDF form, it is Reader-enabled by Acrobat. In order to edit the form further in Acrobat, you have to create a non-enabled copy of the form. You do this in Acrobat by opening the form and selecting: File > Save a Copy
    and opening the copy. It is not opened automatically.
    You can now add a button and set it up to submit by email, either using a "Submit a form" action or the submitForm JavaScript method. You can set it up to include just the form data or the entire PDF, and will want to use a mailto type URL. Submitting the form to the FormsCentral server has a number of important advantages over email (much more reliable, more secure, etc.), so you might want to consider it.
    If the form needs to be saved with Reader versions prior to 11, then you will need to Reader-enable the document. In Acrobat 11 you do this by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools

  • How do i add a submit button to a form

    ho do i add a submit button to a form.

    Hi;
    If you are using the FormsCenral website to create a form it will have a submit button by default for the HTML (web) form and also by default it you are saving as PDF (there is an option to create a PDF without Submit, but by default it does submit to FormsCentral). 
    If you are using the FormsCentral desktop application that is bundled with Acrobat XI you would have to sign into the service to create forms with Submit buttons.  You can also create a form without submit button in FormsCentral Desktop and then edit the form in Acrobat XI adding a submit button using your preferred submit method such as by email.
    Let me know if you need more information on either of these, it will be easier to assist knowing more about what you are using.
    Thanks,
    Josh
    PS - if this is a question about adding a submit button in Acrobat not related to FormsCentral your question would be best asked in http://forums.adobe.com/community/acrobat

  • PDF file size increases when I add a Email Submit button

    Hello,
    My PDF form is 87KB.  Once I add a Email submit button the file size jumps to 525KB.  Why?
    Reason this confuses me is that it seems to be inconsistent.  I have added this function to other PDF forms and the file size only increased a few KB.   Every now & then adding a button or Javascript will increase the file size.
    I have retraced my steps over & over, but I cannot find a answer to why this is happening.
    Thanks for the help everyone!
    -CM

    The problem is the font. Use Helvetica instead. When you do, Acrobat/Reader actually use a version of Arial anyway.
    When you use one of the non-base-14 fonts (Helvetica, Times, Courier, [and their bold, italic, bold italic variants] Symbol, and Zafp Dingbats) for a form field, Acrobat has to embed the entire font in the file, and some can be rather large. The base-14 fonts are guaranteed to be available for use by the compliant PDF viewer, so there is not need to embed them in the file. A viewer is allowed to substitute suitable replacement fonts, which is what Acrobat/Reader now do.
    The problem is you can't simply go back and change the font to Helvetica and see the full size reduction that you'd expect after you do a Save As. This is because Acrobat does not clean up everything as well as you might expect. So what you have to do is go back to a version of the form that does not have the button, or copy & paste the field from the old form to a new PDF that doesn't have any fields, but delete the button first. Then create the button anew.

  • How do I get to the Submit button on my form?

    I have finished my first form but can not find how to get to the submit button on the form to add where I want the form to go - how do I get an email address attached to the form?

    Hi Amy;
    A FormsCentral form can be either a web form users fill out in a web browser, or a PDF form (can also be distributed both ways).
    For a Web form the data is always collected by the Adobe FormsCentral servers and is available to view/analyze in your account on the View Responses tab of the form.  There are also options to set up Email Reciepts (to the form filler) and Email Notifications (to you and other users you specify) that can contain the form data.
    For a PDF form you have the option of the Submit button that submits the data to FormsCentral the same as the Web form, and the same Notifications and Reciept options apply here too.  Alternatively you create a PDF in FormsCentral to use however you'd like and can edit in Acrobat and add your own Submit button that emails the PDF or form data back to you directly.  There are a number of tutorials online for adding email "Submit" buttons to PDF and if you are going to edit a FormsCentral PDF you would want to look at this FAQ as well: http://forums.adobe.com/docs/DOC-3661
    I hope that helps, let me know if you still have questions.
    Thanks,
    Josh

  • Submit Button in Interactive form is not Triggering (Webdynpro Java)

    Hi,
    I have developed one application for Online intractive form.I have  created one text box and one submit button in Intractive
    Form.I created a Action method Submit.I have bound the onActionSubmit() method to  onSubmit Event of Intractive Form.
    For testing i am putting some value in text box and Clicking Submit button.I have set the debugger in onActionSubmit()
    method.But when I am Clicking Submit button, onActionSubmit() method is not triggering.I have
    1. I have used Submit to SAP button (Pallet>Library>Web Dynpro).
    2.I have ACF(Active Control Framework) instalation.
    3.I have WAS 6.4 and NWDS 04.
    4.I have SAPForms.api in   Program Files\Adobe\Acrobat 7.0\Reader\plug_ins path.
    One Value Node DataSource (Cardinality 1..1) is binded into dataSource Property.And pdfSource property is binded to one value
    attribute of binary Type.
    I have done one application where i am getting data from R/3 System and displaying in PDF ,It is working fine.
    I got below error in Log File for the above two applications.But geting the data from R/3 and displaying in PDF is working
    fine even if it is giving below Error in Log
    ClientJTSInterceptor.receive_reply
    [EXCEPTION]
    org.omg.CORBA.BAD_PARAM: Not found ServiceContext with id=0  vmcid: OMG  minor code: 1A completed: Maybe
         at com.sap.engine.services.iiop.internal.giop.ClientRequest.get_reply_service_context(ClientRequest.java:284)
         at
    com.sap.engine.services.ts.jts.ots.PortableInterceptor.ClientJTSInterceptor.receive_reply(ClientJTSInterceptor.java:91)
         at com.sap.engine.services.iiop.internal.giop.ClientRequest.dealReceiveReply(ClientRequest.java:133)
         at com.sap.engine.services.iiop.internal.giop.ClientRequest.dealReceiveReply(ClientRequest.java:125)
         at com.sap.engine.services.iiop.server.portable.Delegate.invoke(Delegate.java:282)
         at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:486)
         at com.adobe.service._ControlAgentStub.done(_ControlAgentStub.java:83)
         at com.adobe.service.ProcessResource.onCommit(ProcessResource.java:609)
         at com.adobe.service.ResourcePeer.invokeCommit(ResourcePeer.java:130)
         at com.adobe.service.J2EEResourcePeerImpl.commit(J2EEResourcePeerImpl.java:124)
         at com.sap.engine.services.ts.jta.impl.ResourceList.commitTwoPhase(ResourceList.java:80)
         at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:355)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:174)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at
    com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
    tener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:214)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Please Suggest.
    Thanks & Regards
    muna

    Hi Muna,
    May ADS is not configured in server properly.
    Check the below link. I hope it will  help you.
    Re: no action got executed corr to SubmitToSap button of Interactive forms
    Thanks
    Siva Arikatla

  • How to remove submit buttons on workspace and use submit buttons on PDF instead?

    I am working with LiveCycle ES2. I will get submit buttons automatically render on workspace according to routes i designed after User component. However, I do not want that submit buttons on Flex. I would like to use submit buttons on PDF as designing in LiveCycle Designer.
    Could you please give a suggestion on this?
    Mac

    You would also want to ensure that the Adobe LiveCycle Form Bridge is not on the form.
    Here are some scenarios, from the Workbench help, which may help:
    If your process uses Adobe XML forms (XDP files), you can render the form to PDF and then use the Inject Form Bridge operation. To render to PDF, you use the renderPDFForm operation that the Forms service provides.
    Workspace ES provides a Complete button that users click to submit their forms. However, forms can also include submit buttons. When the Inject Form Bridge operation is used on a form, Workspace ES either hides the submit button, or disables the Complete button.
    Form design
    Result
    Design: The form includes no submit button.
    Result: Workspace ES disables the Complete button and users cannot submit the form.
    Design: The form includes one submit button.
    Result? Workspace ES hides the submit button and enables the Workspace ES Complete button.
    Design: The form includes a button (indirect submit) that points to a submit button (direct submit)
            Indirect-submit buttons always take precedence over direct-submit buttons, even if multiple submit buttons exist. Workspace ES always shows the indirect submit buttons.
    Result: Workspace ES hides the submit button and enables the Workspace ES Complete button.
    Design: The form includes multiple indirect-submit buttons that point to one or more direct-submit buttons.
    Results: Workspace ES disables the Workspace ES Complete button. The user must click the appropriate button on the form to submit it.
              The user can still save a draft version of the form or take the form offline
    Design: The form includes either an indirect- or direct-submit button in a repeating subform.
    Result: Workspace ES excludes these buttons for submitting the form in Workspace ES.
    Note: When the submit button that was added to the form design with the Process Fields form object to the form design is hidden, the button still provides the functionality for submitting the form.
    Submit requests are handled by Workspace ES, which acts as an intermediary between the LiveCycle ES server and the form. Also, forms can be used both offline and online.
    Hope that helps.

  • How do you insert a submit button into your form?

    How do you insert a submit button into a form?

    Hi,
    The submit button is included automatically. If you are distributing your form as HTML you can use the Test tab to preview your form. If you are distributing your form as PDF, you would need to generate the PDF to see the submit button.
    Regards,
    Brian

  • How do I change the destination of a the submit button on a form in Form Central?

    How do I change the destination of a the submit button on a form in Form Central?

    Sure. Because it is a scheduling form and I want the filled out form to be forwarded to our scheduling department email.
    Sincerely,
    John Biester
    Operations Manager

  • I tried to submit an interactive PDF form,  but received a message: Error opening URL to submit the

    I tried to submit an interactive PDF form,  but received a message: Error opening URL to submit the form. My form is created in InDesign cs6 and exported to interactive PDF with text fields. any one has some tips to deal wiith this?

    Did you get this resolved? I am doing the same thing, passing in a url to the submitForm method via cURL. I am submitting as FDF, and specifying the #FDF at end of URL.
    Currently working against a localhost url, which is allowed and trusted in acrobat to rule out the enhanced security of the reader.
    Any ideas?

Maybe you are looking for