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

Similar Messages

  • Modifying the appearance of the search box, the search button, and the submit button for web forms

    I'm trying to modify the appearance of the search box, the search button, and the submit button for web forms by modifying the CSS on Stylesheets. None of the tags I'm using (e.g. .webform .cat_button) seem to be working. What are the correct tags for those three elements?

    When you generate the help you can select / deselect the buttons that are displayed.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • 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. 

  • 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

  • Problem in submit button on adobe form integrated with web dynpro

    Hello,
    I'm facing prob in triggering web dynpro event onSubmit for Interactive form.
    I've created a submit button from web dynpro activex pallete on adobe form (integrated with web dynpro) to send the form as email.
    Then in the web dynpro view where this form is embedded i have created an action against onSubmit event and called a method within this.
    However, on clicking Submit button this event is not getting triggered.
    Please let me know what is lacking in this process?
    Thanks.

    Hi,
    I am also facing the same problem. i have developed a simple scenario under which user have to input his/her details and on submit button it will be updated to database.
    I have tried the above solution but after adopting this solution all the editable fields become non-editable.
    so the above solution is not working for me could you help me out.
    I think ... try this....
    When you create the Adobe Form from WebDynpro, you need to follow one step in SFP Transaction or inSE80 transaction. Open the Adobe Form in any one the transaction and now in SAP menu bar "Utilities" in that you will find the "INSERT THE WEBDYNPRO SCRIPT" just click on that one. Then you will see a new Script Object is being created with the name "ContainerFoundation_JS" under the "Variables" in the Heirarchy of the Object Pallete of the Adobe Form.
    This step is mandatory to use the SUBMIT Button of the "WebDynpro Native", to trigger the OnSubmit event of the WebDynpro.
    Thanks
    Edited by: shailendra2sap on Mar 6, 2009 12:24 PM

  • 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

  • Submit Button In Web Dynpro Layout not working.

    Hi All,
             I have integrated an adobe form in my web dynpro application.According to my requirement the view of screen should change when the user clicks on submit button.So I have given the submit button as one of the UI element in my WD object along with the form.But when I click on the submit button the functionality doesnot work.
    The same submit button works when there is no adobe form integrated in my WD application.
    Please let me know what needs tyo be done so make that submit button work.
    Thanks and Regards,
    Sarang

    Sarang,
    Lets go step-by-step.
    1. Create two views in your applications lets say the names are View1 and View2.
    2. Goto Diagram View of the Window in under Windows node in your Web Dynpro Explorer in NWDS.
    3. Create Inbound and Outbound plugs for View1 namely inbView1 and outView1
    4. Repeat the same for View2. So names will be inbView2 and outView2.
    5. Create a navigational link between the Vies by creating a link from outView1 plug to inView2 plug.
    6. Goto Layout tab for the View1. This is where you have embedded the Interactive form element.
    7. Set the displayType property to native.
    8. Under Events there will be onSubmit method, craete a new method called navigateToView2 and click Go. This will take you where you can implement your logic.
    9. Fire the outbound plug of View1. See following code snippet:-
    public void onActiong navigateToView2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongotoView2(ServerEvent)
        wdThis.wdFirePlugOutView1();
        //@@end
    10. Edit the Interactive form, it should open Adove LiveCycle Designer.
    11. Drag-drop Submit button from WD Native library ontot the form.
    11. Don't modify anything and check if you see below code snippet in the Editor.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    12. Now whenever you click submit button on the form, what it does is that it makes call to WD framework and the onSubmit action handler is called where you have written the code to navigate to View2.
    Chintan

  • Submit button in Web Dynpro Native and ActiveX tab

    We use LiveCycle Designer 7.1 in a SAP environment (CRM5.0/NW2004S 7.0.06). We are creating an online Interactive Form via Web Dynpro for Java using NW2004S.
    In NW2004 you have to possibility to select the 'Submit to SAP' button from the Web Dynpro tab. However, in NW2004S this has been changed into 2 submit buttons, one on Web Dynpro Native and one on Web Dynpro ActiveX tab. Does somebody know what the differences are compared to NW2004? When to choose what button and what kind of code you need to enter to send the data the SAP?
    kind regards
    Angelique Heutinck

    Sarang,
    Lets go step-by-step.
    1. Create two views in your applications lets say the names are View1 and View2.
    2. Goto Diagram View of the Window in under Windows node in your Web Dynpro Explorer in NWDS.
    3. Create Inbound and Outbound plugs for View1 namely inbView1 and outView1
    4. Repeat the same for View2. So names will be inbView2 and outView2.
    5. Create a navigational link between the Vies by creating a link from outView1 plug to inView2 plug.
    6. Goto Layout tab for the View1. This is where you have embedded the Interactive form element.
    7. Set the displayType property to native.
    8. Under Events there will be onSubmit method, craete a new method called navigateToView2 and click Go. This will take you where you can implement your logic.
    9. Fire the outbound plug of View1. See following code snippet:-
    public void onActiong navigateToView2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongotoView2(ServerEvent)
        wdThis.wdFirePlugOutView1();
        //@@end
    10. Edit the Interactive form, it should open Adove LiveCycle Designer.
    11. Drag-drop Submit button from WD Native library ontot the form.
    11. Don't modify anything and check if you see below code snippet in the Editor.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    12. Now whenever you click submit button on the form, what it does is that it makes call to WD framework and the onSubmit action handler is called where you have written the code to navigate to View2.
    Chintan

  • 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

  • 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

  • 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.

  • Submit button in Interactive form WDA

    Hi All,
    I have created one WD ABAP interactive form using one BAPI. I have placed one Submit button on the form which is of type (webdynpro native). And i have defined on action in WD. But when I click on submit button the action is not trigerring. I tried even with Webdynpro Active x type but still no use.
    How can I link the button in form to action?
    With Regards,
    Ravi

    Ravi,
    There is onSubmit event in Web Dynpro where you can create your own method for data processing.
    If you have set displayType as native then you should be using Submit button from WD Native Library in Designer.
    Once you place the button on the form, check if following script is present in the click event of button in Script editor of Designer or not.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - SubmitToSAP.xfo
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    // END OF DO NOT MODIFY
    Also check Control Type in Object Palette for the button. It should be Regular.
    Chintan

  • Submit button from Adobe form doesn't trigger action???

    Hi all,
    the submit button within Adobe form doesn't trigger any action that i wrote. it happens to my machine, but it doesn't happen on some of my colleague's machines.
    i am using Adobe reader 8, when the first time i use IE to display the app, it prompts me to install some kind of activeX plug in, and after it installed, it told me that some setting is not correct, and it mentioned about adobe reader 6 or 7.
    will downgrade to 6 or 7 solve this problem? is there any other walkaround for it?
    thank you!

    If you are on Netweaver 2004s SP9 or higher, you could change the displayType property of InteractiveForm UI element to "Web Dynpro Native" and use the submit button from "Native" tab.
    If you are any other lower version, you dont have a choice but to use "activeX" which requires Active Component Framework (ACF) to communicate with server. You need to use button from "Web Dynpro ActiveX" tab. You need to install the right version of ACF (SAP Note 766191). Better if you use Adobe Reader 8.1.2.
    Thanks
    Ram

  • 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

Maybe you are looking for

  • [Solved] ATI Mobility Radeon HD 2300 Problem - fglrx not loading

    I changed the currently unreliable GS 8600 nvidia card in my laptop to a compatible old ATI HD 2300 card from a similar model laptop but I can't get the Catalyst drivers to work with it. The open source driver xf86-video-ati works well with it for ba

  • Connecting an ATA to external Phone ringer

    We have CUCM 7 and I need to connect an external ringer to a phone in the factory.  I have setup an ATA directly to the ringer and shared the extention of the phone that needs the louder ring.  However, as soon as I plug the horn in the ATA's red lig

  • Generic Host Services for Win32

    Hi! I had everything up and running perfectly with my k8n neo platinum and then I installed my Homeportal 1000 DSL modem/router and I have been getting this Generic Host Services for Win32 has encountered an error and must close thing ever since...Do

  • Alternative for session variable in OBIEE Translation

    Hi all, I am working on translating OBIEE reports to various languages. I am using specific xmls for particular language which has entries for translated text. Now in few of the reports I have case statements/BINs defined in column formula. This 'col

  • SE48 and SE49 transactions..

    dear experts, from which version onwards the T.Codes SE48 and SE49 are available?... thaks in advance.