Create a confirmation popup dialog when submitting a form

Hi all,
I have a simple business : ask a question (yes/no) to a user when he is submitting a form.
This form is an "ADF Form (11g)" and is displayed in a inline dialog. It is triggered for an EntityView when user clicks on an edit button of a table row.
I've tried lot of different solutions but it never works.
Let me tell you about these:
Solution 1: Adding a showPopupBehavior
    <af:document id="d1">
      <af:messages id="m1"/>
      <af:form id="f1">
        <af:panelFormLayout id="pfl1">
          <af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
            <f:validator binding="#{bindings.Datedeb.validator}"/>
            <af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
          </af:inputDate>
       <!-- ... -->
          <f:facet name="footer">
            <af:group id="g1">
              <af:commandButton text="Submit" id="cb1">
                <af:showPopupBehavior popupId="p1" />
                <af:returnActionListener/>
              </af:commandButton>
              <af:popup id="p1">
                <af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
                  <af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
                </af:dialog>
              </af:popup>
            </af:group>
          </f:facet>
        </af:panelFormLayout>
      </af:form>
    </af:document>The issue is that the +<af:returnActionListener/>+ is never triggered and the form do not close.
Solution 2: Adding a showPopupBehavior and change the triggerType
    <af:document id="d1">
      <af:messages id="m1"/>
      <af:form id="f1">
        <af:panelFormLayout id="pfl1">
          <af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
            <f:validator binding="#{bindings.Datedeb.validator}"/>
            <af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
          </af:inputDate>
       <!-- ... -->
          <f:facet name="footer">
            <af:group id="g1">
              <af:commandButton text="Submit" id="cb1">
                <af:showPopupBehavior popupId="p1" triggerType="click" />
                <af:returnActionListener/>
              </af:commandButton>
              <af:popup id="p1">
                <af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
                  <af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
                </af:dialog>
              </af:popup>
            </af:group>
          </f:facet>
        </af:panelFormLayout>
      </af:form>
    </af:document>By reading in your forum I find this solution to be able to initiate a popup and execute the commandButton action by adding the triggerType="click" on the showPopupBehavior.
The issue then is that the dialog get closed without waiting for a user response on the popup dialog (yes/no)
Solution 3: Adding aAdfFacesContext.getCurrentInstance().returnFromDialog(null, null); in my dialog listener
    <af:document id="d1">
      <af:messages id="m1"/>
      <af:form id="f1">
        <af:panelFormLayout id="pfl1">
          <af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
            <f:validator binding="#{bindings.Datedeb.validator}"/>
            <af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
          </af:inputDate>
       <!-- ... -->
          <f:facet name="footer">
            <af:group id="g1">
              <af:commandButton text="Submit" id="cb1">
                <af:showPopupBehavior popupId="p1" triggerType="click" />
              </af:commandButton>
              <af:popup id="p1">
                <af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
                  <af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
                </af:dialog>
              </af:popup>
            </af:group>
          </f:facet>
        </af:panelFormLayout>
      </af:form>
    </af:document>
  public void mustClosePreviousAddress(DialogEvent dialogEvent)
    //Business logic
    AdfFacesContext.getCurrentInstance().returnFromDialog(null, null);
  }It looks like it work and close the dialog when click on yes/no on the popup dialog but the value are not submitted and the data model do not change.
Solution 4: Sendind an ActionEvent on the button when user has made his selection
    <af:document id="d1">
      <af:messages id="m1"/>
      <af:form id="f1">
        <af:panelFormLayout id="pfl1">
          <af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
            <f:validator binding="#{bindings.Datedeb.validator}"/>
            <af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
          </af:inputDate>
       <!-- ... -->
          <f:facet name="footer">
            <af:group id="g1">
              <af:commandButton text="Submit" id="cb1" binding="#{backingBeanScope.dialogBackingBean.cb1}">
                <af:showPopupBehavior popupId="p1" />
                <af:returnActionListener/>
              </af:commandButton>
              <af:popup id="p1">
                <af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
                  <af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
                </af:dialog>
              </af:popup>
            </af:group>
          </f:facet>
        </af:panelFormLayout>
      </af:form>
    </af:document>
  public void mustClosePreviousAddress(DialogEvent dialogEvent)
    //Business logic
    cb1.queueEvent(new ActionEvent(cb1));
  }The same as foor the third solution, it looks like it work and close the dialog when click on yes/no on the popup dialog but the value are not submitted and the data model do not change.
I've verified with an actionListener, the actionEvent received when the user click on the button is exactly the same as the one i've dispatched manually.
Can you help me with a solution adressing this issue?
Best regards,
Alex

Mmm something like this ?
    public void newDialogListener(DialogEvent dialogEvent) {
        if (dialogEvent.getOutcome().name().equals("ok")) {
            this.getBindings().getOperationBinding("Commit").execute();
                // Do something
    }

Similar Messages

  • State service error when submitting InfoPath form to Library

    I have a problem and looks like Google couldn't help me.. I really hope someone here will be able to.
    I have a Form Library using a custom form. When submitting the form to the library, users are getting this error. I don't get the error with my own user, only difference is I have full access to the farm and content using web app policy.
    ULS logs give me few informations
    SharePoint Server
    State Service
    bm1k
    Medium
    StateSqlSession.GetItemBytesInternal() Locked row in database for key ba18f90ee2e844468b08e90ad96dff2c_05967b71a21948d39b7d4d3ada9b27c9 for 4 seconds
    SharePoint Server
    State Service
    bm0t
    Unexpected
    StateManager.GetState() Locked data (05967b71-a219-48d3-9b7d-4d3ada9b27c9)
    InfoPath Forms Services
    Runtime - State Service
    b5st
    Medium
    MOSS StateService threw an exception: A Microsoft SharePoint Server State Service error occurred while processing your request. For more information, contact your server farm administrator.
    I deleted the State Service and recreated it twice, once with PowerShell and then with the Farm Configuration wizard. Restarted the server. Problem might come from InfoPath Forms Services tho but I don't what else I can do.
    Does anyone have any clue??
    JP Berube | MCTS SharePoint 2010 Configuration and Application Development

    Hi,
    We had the same problem with InfoPath.
    After analysis of servers,it turns out that
    the anonymous user authentication has been enabled on
    the web application server
    via IIS and not via SharePoint
    (unsupported configuration), causing
    side-effects on some queries which
    calls to forms.
    We disabled anonymous access.This desactivation
    causes the functioning of forms again.
    Rachid.

  • Error"There was an internal error when submitting the form" URM Disposition

    Hello
    I get the following error - "*There was an internal error when submitting the form*" - when i allocate a Retention Disposition to a Retention Category.
    Any Ideas how this can be solved?
    Thank you

    Not based on the minimal information provided.
    Error messages in 11g, from a UI standpoint, are severely deficient. How about looking in the content server logs and posting some more information?

  • How to allow users to include a photo when submitting a form

    Using Adobe Livecycle Designer ES Version 8.2.1.3144.1.471865
    Would anyone out there know how to add the functionality of allowing users who are filling out a form to include a photo when submitting the form?
    Thanks in advance for any help.
    Regards,
    Lola

    Hi,
    If you drag an imageField onto the page, when the user clicks on this at runtime, they will be prompted to select an image file.
    There is an example of that in this form: http://assure.ly/j1KdNq.
    There are more image field examples on our site, but I don't think any of them are set up for the user to select an image. http://assure.ly/ozrNSO.
    Hope that helps,
    Niall

  • Java.lang.IllegalStateException when submitting a form.

    Hi there,
    I'm pretty new with jsp pages & tomcat, please check the following code :
    <form action="validInput" method="POST">
    <input name="cpyName" />
    <input type="submit" value="submit" />
    </form>when submitting the form I get the following error :
    method HTTP POST is not supported by this URL
    If I switch the form method to GET, I get the following error :
    java.lang.IllegalStateException
         org.apache.coyote.tomcat5.CoyoteResponseFacade.sendError(CoyoteResponseFacade.java:325)
         javax.servlet.http.HttpServlet.doPost(HttpServlet.java:346)
         vra.Servlet2.doPost(Servlet2.java:24)
         vra.Servlet2.doGet(Servlet2.java:17)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Thanks to help.

    Please go through this resolved post:
    [http://forums.sun.com/thread.jspa?forumID=45&threadID=506192|http://forums.sun.com/thread.jspa?forumID=45&threadID=506192]
    Edited by: J4Java on Apr 29, 2009 2:54 AM

  • Change enctype when submitting a form

    Hi,
    Can anyone please let me know if its possible to change the enctype when submitting a form. I am trying to change the enctype to "multipart/form-data" when upload is clicked, else i want it to be the default.....
    function OnSubmitForm(myform)
    alert('document.pressed : ' + document.pressed );
    if(document.pressed == 'Upload')
    myform.enctype="multipart/form-data";
    alert('enctype: ' + myform.enctype);
    else
    alert('enctype: ' + myform.enctype);
    return true;
    }

    The JavaScript property is encoding (not enctype). The JavaScript encoding form property corresponds to the html enctype form attribute. So the code should be:
    function OnSubmitForm(myform)
    alert('document.pressed : ' + document.pressed );
    if(document.pressed == 'Upload')
    myform.encoding="multipart/form-data";
    alert('enctype: ' + myform.encoding);
    else
    alert('enctype: ' + myform.encoding);
    return true;
    }

  • Unkown failure when submitting a form to PHP web page

    Hello.
    I've been having a following issue when using Adobe Reader X version 10.1.3.23 and the newest version.
    An error occurred during submit process. Unkown failure.
    This happens when the document is receiving data from web page.
    Following javascript is behind the submit button:
    this.submitForm({
    cURL: "http://path.to.url/index.php",
    cSubmitAs: "XFDF" // the default, not needed here
    In the web page there is a script that processes the data and after that it sends pdf document to the user that has submitted the form:
    header('Content-type: application/pdf');
    header('Content-Disposition: attachment; filename="confirmation.pdf"');
    readfile('confirmation.pdf');
    The problem only occurs on some computers i've tried this form. I have no idea why this is happening. Any ideas?

    The submit button is in the PDF file.
    http://s29.postimg.org/v5y4hmyg7/error.png

  • Change subject line of email when submitting a form using Acrobat X Pro

    I have created an interactive PDF in Acrobat X PRO with a submit a form button. Everything works fine all the way through distribution except that I need the Subject Line of the submitted form when attached to an email to read "Form Returned: File Name" rather than "Submitting Completed Form". All of my past forms had the "Form Returned: File Name" subject line automatically...did something change and is it possible to change the subject line? Any help would be much appreciated.

    Thank you for your reply. I had actually come across that form on multiple occasions during my research. Looks like I need the doc.mailDoc() function, but there isn't an example of the code. Looking in other places I have tried a few things unsuccessfully. I did find this, which I thought would be even better than Form Returned: File Name in the subject line...actually taking information from fields in the form:
    // Build the subject line text from several fields form fields
    var subj_text = getField("text1").valueAsString;
    subj_text += getField("text2").valueAsString;
    subj_text += getField("text3").valueAsString;
    // Send the email
    mailDoc({
        cTo: "[email protected]",
        cSubject: subj_text,
        cMsg: "Body of email message goes here."
    I entered the script(adding in my own information for the email, body and subject line) by adding an action to the button to run the java script but it did not work. Any ideas??

  • Error when submitting any form  (ALC-WKS-007-043)

    I am getting the following error any time I submit a form using the "Complete" button inside the workspace.
    An error occurred submitting the form (task xxx, form {1}). (ALC-WKS-007-043)
    I have restarted the server and still get the same error!
    Any idea?

    2008-01-08 13:17:14,625 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
    2008-01-08 13:17:14,625 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected:
    javax.naming.NameNotFoundException: XAConnectionFactory
    at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
    at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
    at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:229)
    at $Proxy275.lookup(Unknown Source)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
    at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java :605)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvok er.java:1471)
    at java.lang.Thread.run(Thread.java:595)
    2008-01-08 13:17:14,625 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
    2008-01-08 13:17:14,625 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
    2008-01-08 13:17:14,625 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected:
    javax.naming.NameNotFoundException: XAConnectionFactory
    at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
    at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
    at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:229)
    at $Proxy275.lookup(Unknown Source)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
    at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java :605)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvok er.java:1471)
    at java.lang.Thread.run(Thread.java:595)
    2008-01-08 13:17:14,625 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected:
    javax.naming.NameNotFoundException: XAConnectionFactory
    at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
    at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
    at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:229)
    at $Proxy275.lookup(Unknown Source)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
    at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java :605)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvok er.java:1471)
    at java.lang.Thread.run(Thread.java:595)

  • WL 8.1 BEA-101083 error when submitting a form using javascript (IE only)

    Hello,
    I have a JSP page that is submitting a form with javascript document.form.submit()
    after checking the validity of form element values, but I randomly get a BEA-101083
    error. The jsp page has worked fine for several year in IPlanet, and Sun One
    7 application server, but when ported over to WebLogic 8.1 SP2 the error manifests
    itself. Basically, when user submits the form, the next page is displayed with
    null values, and soon after the following stack trace appears in the server log.
    This error only occurs when the client browser is IE, Netscape works fine.
    Thanks,
    -Colin
    <WLS Kernel>> <> <BEA-101083> <Connection failure.
    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@9bb9300
    - idle tim
    eout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period
    of '60' secs
    at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(Lweblogic.time.common.Schedulable;)V(SocketMuxer.java:775)
    at weblogic.time.common.internal.ScheduledTrigger.run()Ljava.lang.Object;(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.Privil
    egedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.a
    cl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally()V(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(Lweblogic.kernel.ExecuteThread;)V(ScheduledTrigger.java:223)
    at weblogic.time.server.ScheduledTrigger.execute(Lweblogic.kernel.ExecuteThread;)V(ScheduledTrigger.java:50)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)

    Checkboxes only submit a value when they are "on"
    They submit nothing if they are not selected.
    The problem comes - do you interpret no checkbox values as "clear all values" or "leave the values alone"? Struts assumes the latter.
    Your form is probably being kept in session?
    Try implementing the reset() method of your action form and set its property to be equivalent to no checkboxes selected.

  • How to set a customer type when submitting a form

    Hello! How do I set a customer's 'Customer Type' when they submit a form? In other words, I have a form on my website and if a user completes and submits that form, I would like that user to be given a specific Customer Type.
    TIA

    You cant yet.
    Soon though.
    The output for these via liquid will be available in the release later today and hopefully the form aspects will be in the new future.

  • How are attachments handled when submitting a form

    If a user attaches a file to a PDF form, can the attachment be submitted to a database or spreadsheet? Does the attachment need to be extracted from each form individually?

    When submitting, there are a number of quite different possibilities. I'll discuss the file attachments that can be attached as comments since we were discussing them in a different thread.
    You can set up a submit form action to include the entire document (PDF) or just the form data and comments (annotations).  In order to include the file attachments, you need to use either FDF or XFDF. You'd then have to be able to have some means to extract the attachments from the data files.
    If submitting as "HTML", there's a different method that you have use that conforms to RFC 1867, which is nice because it allows you to take advantage of code that used to process HTML forms. It's a more complicated setup on the form since the form needs a text field for each file that will be uploaded.
    Once the server gets the data it can do whatever it wants with it. This is a big subject and really beyond the scope of these forums. Probably the simplest method is to store the files securely on the server.

  • Wrong values submitted when submitting a form with javascript

    Hi guys, I know this aint a struts forum, but I did not know where else to go. So here goes..
    I have the following code in my jsp
    <logic:iterate id="ex" name="myForm" property="users">
    <html:multibox property="deleteUsers">
    <bean:write name="ex" property="userId"/>
    </html:multibox>
    </logic:iterate>
    I have about 10 users of which 5 have already been marked for deletion from another action. So basically, the above tag renders 10 rows with a checkbox in the beginning to select users to delete. Also 5 of them have been checked already, I mean when the form is loaded. So checkboxes 1, 4, 5, 8, 10 have already been checked. Now I have a link on which goes like this
    Select None. On this I call a javascript which does the following
    function uncheckAll() {
    for (i = 0; i < 10; i++) {
    document.myForm.deleteUsers.checked = false;
    This unchecks all my checkboxes.
    Now comes the problem. I am submitting the form using a javascript which is invoked on clicking on the submit link using document.myForm.submit(); The problem is the deleteUsers property in myForm still retains the old values. If the checkboxes are unchecked no values should be submitted for this and the deleteUsers array should be empty. Can anyone help me out on this.
    Thanks.

    Checkboxes only submit a value when they are "on"
    They submit nothing if they are not selected.
    The problem comes - do you interpret no checkbox values as "clear all values" or "leave the values alone"? Struts assumes the latter.
    Your form is probably being kept in session?
    Try implementing the reset() method of your action form and set its property to be equivalent to no checkboxes selected.

  • Need to avoid Select Email Client dialog when submitting Acrobat X form

    We are using Windows 7 / Office 2010 32-bit with Adobe Pro X, and have found that when creating a PDF from a Word 2010 document (via either print or convert or Word PDF or XPS), then using Acrobat to create a form from it, when we apply the action Submit a Form, the finished product presents users with a Select Email Client dialog.  The choices within the dialog are Desktop or Internet email.  We are using a direct email address, not a server location.  This happens even when NOT using the Distribute wizard.  Outlook is confirmed as the email choice in Adobe Preferences Internet Settings.  Anyone encounter this issue and have a fix or workaround?  We want the email to auto-create as it does in our XP / Acrobat 8 Pro environment without a dialog presentation.
    Thanks for any and all thoughts!

    Yes, you are right that is the way to go.  Thank you!
    I have tested and am now using successfully:
    // Set email address
    var cToAddr = "%email.address%";
    // Set the subject and body text for the e-mail message
    var cSubLine = "Survey Response";
    var cBody = "Message body text";
    // Send the form data as a PDF attachment in an e-mail message
    this.mailDoc({bUI: false, cTo: cToAddr, cSubject: cSubLine, cMsg: cBody});

  • 'No action was selected.' error when submitting a form

    I have been having problems getting a form to initiate my workflow process. I open the form in the form manager, fill it out, hit the submit button and get the following error: "No action was selected. Your data has been saved in your drafts folder. Open the work item again, select an action, and resubmit the form"
    What makes this issue especially tough to debug is that the workflow server appears to be caching the error. For instance, I start with a simple form invoking a simple workflow -> that works. I then change the InitForm to use the real form (complex) and I get the error. If I switch back to the simple form, the error persists. The only way that I can get back to a working combination is to create a new simple workflow and simple form from scratch (and that does not always work). Does anyone have a suggestion for the "no action was selected" error, or for the strange caching that appears to be happening with the workflow server?
    Thanks in advance
    Chris

    All,
    This appears to be an issue with Forms 7.1.
    From Adobe Support:
    "Under normal circumstances, if you take Workflow out of the picture and submit data from a PDF form that has a schema associated to it, the submitted data will conform exactly to the schema. So if you have
    fields on the form that don't correspond to nodes in the schema the data for those fields will not be submitted. However, when you add
    Workflow into the picture, the data for the workflow fields MUST be
    submitted regardless of whether they are in the schema or not because
    it's essential for things to work. Those nodes get removed from the DOM at a later time so that the data that's in your form process variable will conform to the schema. With LC Forms 7.0.1 installed this is working fine and all the Workflow fields are passed on fine. With LC Forms 7.1 installed, all the Workflow fields get submitted except for the AWS_ACTION field. Which is why Form Manager then complains that no action was selected."
    Workarounds:
    1) Don't supply Choice List options for the init form in the workflow
    2) Don't associate your form with a schema
    3) Add an element into your schema for AWS_ACTION of type xsd:string
    such that it will be submitted along with the rest of the data.
    Option #3 worked for me, and fixed my issue.
    Chris

Maybe you are looking for

  • Problem with inputstreams from socket

    Hi This is probably a stupid question, but I really don't know much about server-client programming, and I'm a bit stuck when it comes to helping a friend (who is even more lost than me :p). In the code, there is a socket, mySocket. For some reason,

  • EOL date Issue in AUSP Table for Material classification in MM

    Hi, Issue: for 4 material's eol date available in bw and after some time the user removed the EOL date in R/3. after deleted eol data from R3, the material classification data source(1CL_OMAT001) not picking that material and old eol date available i

  • Send mail in a trigger

    I want to send a mail in a After Insert Trigger to a defined user with oracle 8.1.7. How can i do ? PLZ HELP!!

  • Eclipse plugin for SJSAS 9?

    Is there a plugin for Eclipse 3.2/wtp to control sjsas 9? A google search turns up many hits, but no real current product. Thanks nat

  • DW Manage Site feature keeps crashing

    Hi, Am having all sorts of issues with Dreamweaver 8's Manage Site feature at the moment. It keeps crashing the entire program me. I am running DW on a PC and OS is XP Pro (reformatted/ rebuilt in Nov 06) <-- DW8 has been running fine till today. Hav