(how to submit a form to a case) Plus another email of customer...

Here is my problem.
Web App search supplies a list of customer submitted items- DONE
When in the detail of an item there is a form that is used to contact the Customer - DONE
I want an email with the form data sent to the customer, AND the form to be attached to that customer as well.
Any help would be greatly appreciated!!!
Will

the second sample i gave, in which i defined a parameter, and the button still returns false, there are 2 values in request.getParameterMap();, i printed them out, they are:
Key = _                               Value = [Ljava.lang.String;@1f405c3
Key = para                         Value = [Ljava.lang.String;@1a64949where 'para' is the parameter name i defined in JavaScript like:
function func() {
   var par = "para='1234'";
   new Ajax.Updater(target, url, {method:'post', parameters:par});
}if i take the parameter off, the request.getParameterMap() has zero element.
looks quite simple, but it just drives me crazy......

Similar Messages

  • How to submit a form with checkboxes in a page flow?

    I'm having some trouble with a form that contains several checkboxes, and
    how to submit this form within a page flow...
    I have a JSP page containing a form with N checkboxes. The value and
    checked/unchecked status of each checkbox is generated from parsing an XML
    document. Here is the (simplified) code:
    <%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
    <netui:form action="doUpdate">
    <x:forEach select="...">
    <input type="checkbox" name="id"
    <x:if ...>checked</x:if> value="<x:out ... />">
    </x:forEach>
    <netui:anchor formSubmit="true" action="doUpdate">Submit</netui:anchor>
    <netui:anchor action="doCancel">Cancel</netui:anchor>
    </netui:form>
    When this form is submitted, the checkbox values are lost -- the following
    code (in the action) produces an empty array:
    String[] prefs = this.getRequest().getParameterValues("id");
    I looked at the <netui:checkbox> tag, but it does not appear to give me a
    way to set the state and value (unless I've missed something).
    Can I submit a form without using a form bean? If I do use a form bean, can
    I set the state and value from my JSP?
    Any suggestions on how to do this (or insights into what I'm doing wrong)
    are welcome...
    -- Craig

    I am new to this, but I think this may solve your problem:
    I am not sure if this is what you are looking for, but you can create a LinkedHashMap
    with the req key/value pairs in the page-calling action in the pageflow and then
    pass that via a getRequest().setAttribute("myCheckboxes",myCheckboxHashMap);
    You can then access it in code using the optionsDataSource portion of the netui:checkBoxGroup
    - ie
    <netui:checkBoxGroup dataSource="{actionForm.thisCheckbox}" optionsDataSource="{request.myCheckboxes}">
    Hope this helps!
    m
    "Craig Coffin" <craig+1268fbec@nfld-dot-com> wrote:
    I'm having some trouble with a form that contains several checkboxes,
    and
    how to submit this form within a page flow...
    I have a JSP page containing a form with N checkboxes. The value and
    checked/unchecked status of each checkbox is generated from parsing an
    XML
    document. Here is the (simplified) code:
    <%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
    <netui:form action="doUpdate">
    <x:forEach select="...">
    <input type="checkbox" name="id"
    <x:if ...>checked</x:if> value="<x:out ... />">
    </x:forEach>
    <netui:anchor formSubmit="true" action="doUpdate">Submit</netui:anchor>
    <netui:anchor action="doCancel">Cancel</netui:anchor>
    </netui:form>
    When this form is submitted, the checkbox values are lost -- the following
    code (in the action) produces an empty array:
    String[] prefs = this.getRequest().getParameterValues("id");
    I looked at the <netui:checkbox> tag, but it does not appear to give
    me a
    way to set the state and value (unless I've missed something).
    Can I submit a form without using a form bean? If I do use a form bean,
    can
    I set the state and value from my JSP?
    Any suggestions on how to do this (or insights into what I'm doing wrong)
    are welcome...
    -- Craig

  • How to submit two forms once  in one jsp page?

    hello all,
    My jsp page includes two forms: one form's action is a File Upload servlet, which process file uploading; another is a general servlet to collect user inputs, such as user name, age, etc.
    Because the file upload servlet is a legacy component, and it was used in many applications. we could not meger it into our business components.
    the system requires the file upload and information collection are submitted once. so we have to submit two forms in one 'Submit' action, at the same time, the information collection servlet need get the information from file upload servlet, such as the uploaded file's url.
    I have tried two methods, but all failed
    1. Upload form has no a 'Submit' button, when user click the 'submit' button of the information collection form, we use a javascript to submit upload form first, then submit information collection form. Failed at: the second submit dose wait for upload finishing, then the second submit interrupt the upload
    2. the javascript only submit upload form, and set HTML body's onUnload event to another javascript that submit information collection form. this time, the file upload sucess, and information collection form sucess at most time. But fail when user click the 'refresh' or 'back' or any navigator buttons of the browser. these action will trigger the page 'unload' event too, but the submit if invalid!
    Please tell me how to.

    chain the both requests!
    - build one mutlitpart request and send it to a servlet that can handle that multipart request (think of using oreilly MultiPartParser).
    - check the input (all requiered fields and files there)
    - if yes store the user fields and create a socket connection from your servlet to the legacy file upload servlet and post the file this way.
    - like this you have full control over the users input and can make sure the file and the fields are just save if all requiered elements are availble.

  • How to submit a form in jsp from tag handler class

    I have a form in jsp.I created some more links in the tag handler class.Based on the link we click form action will take place.Now how can i submit the form in tag handler class for the links i created in that class.

    I have a form in jsp.I created some more links in the tag handler class.Based on the link we click form action will take place.Now how can i submit the form in tag handler class for the links i created in that class.

  • Pls tell me how to submit a form?

    I want to use java class to submit a form to the web server,
    but I can't find which class will be useful for it,
    I find URLConnection can do it but can't set the request mothed
    to "post",HttpURLConnection can do it but it is an abstract class
    and I can't find the subclass,How can I do?

    But the "openLConnection()" method return URLConnection instance.
    Something like: new URL( "http://foo"
    ).openConnection() should return an instance of
    HttpURLConnection.

  • How to submit two forms at same time?

    Have a client that requires their members to update their profile information and some of the details from that form need to also populate a WebApp.
    I've seeded the CRM with basic (first name, last name, email address, Your ID, and EntityID) member data.
    Members would log in and be asked to update their profile. [action="/MemberProcess.aspx"]
    This submission should update their CRM record *AND* create a WepApp record at the same time.
    I tried the AJAX + jQuery method, including the second WebApp form [action="/CustomContentProcess.aspx?...] fields as type="hidden", and using {tag_FIELD NAME}; but this isn't working for me, I'm admittedly not a real programmer.
    Any thoughts? Thank you very much, in advance for any and all help!
    p.s. the reason for wanting to do this, is so that members do not have to update their CRM profile and then also input their data specific to the WebApp form (it's a member listing) as a separate task.
    p.p.s. after I get through the above hurdle... how can I ensure that a CRM user has one and only one WebApp item (their listing) and that they can edit it? Another issue I'm having now is that users create a new listing in the WebApp if they submit another record and in the future I fear that simply editing their CRM profile will create new WebApp listings too. This site is like a phone book, there should only be one listing for each unique email address (in this case).
    -Will

    You can use Jquery + AJAX to submit as many forms as you want to as many places as you want. Don't use the HTML to submit and have a second javascript submitter as the Javascript might not have time to complete before the page is submitted.
    I wrote this quickly just now, this wont work on the JSfiddle site because you can't form POST / GET anything on it (AJAX included it seems). it will submit to other URLs the same data. It is done in parallel and because we don't know which one will finish quicker, both calls check if all calls are complete before confirming everything is complete. I have not tested it but it would get you 99% of the way there.
    <form id="signup_register" action="" method="post">
        Firstname<br/><input type="text" name="firstname"><br/>
        Lastname<br/><input type="text" name="lastname"><br/>
        <button onclick="formsubmit(this);">Save</button>
    </form>
    <script>
        var url1='http://google.com';
        var url2='http://gmail.com';
        var complete1=false;
        var complete2=false;
        FinishedTwoFormSubmits=function(){
            alert('Finished submit - redirect or whatever you need to do.');   
        formsubmit=function(el){
            var data = $('form#signup_register').serializeArray();
            PostSubmit(url1,data, function(){ complete1=true; if (complete1 && complete2){ FinishedTwoFormSubmits() } });
            PostSubmit(url2,data, function(){ complete2=true; if (complete1 && complete2){ FinishedTwoFormSubmits() } });
        PostSubmit=function(url,data,cb){
              var ret=false;
            var noerror=false;
                        $.ajax({
                                    type: 'POST',
                                    url: url,
                                    cache: false,
                                    data: data
                                  }).done(function(msg) {
                                            try{ noerror=true; }
                                            catch(e){ alert(e+'\n\n'+msg); }
                                            if (noerror){ cb() }
                        return ret;
    </script>

  • How is submit a form using ahref  in a JSP

    I have a form inside a iframe. It has 2 buttons. On clicking one button resultant page should open in the parent window(i.e target = parent). On clicking another button resultant page should open in same window (i.e target = self).
    In bith case i need to submit the details in that form. I need to do this when java script is disabled. When java script is enabled changing of target window is possible.

    I have written a few applications that required this kind of function, and what I ended up with was an applet.
    First, I submit to the usual ACTION-URL and after processing the data, my code would determine whether the response should capture the full screen, or appear just withing the frame.
    For redirects that capture the full browser window, I would call a page (still within the frame) that would run a Java applet whose only funtion is to send the browser to the new URL, which would be sent to the applet as a param. The applet just needs to know how to send the user to the new URL.
    package com.redeye.core.utils;
    import java.applet.Applet;
    import java.net.MalformedURLException;
    import java.net.URL;
    * Redirect the user agent to a new URL.
    * Usage:
    * <xmp>
    * <applet
    *   code="package.to.Deflector"
    *   codebase="path/to/applet/codebase"
    *   name="Deflector"
    *   height="1" width="1"
    *   mayscript>
    *     <param
    *       name="targeturl"
    *       value="http://target.url.here/">
    *     <param
    *       name="targetframe"
    *       value="_self|_top|ANYTHING_ELSE">
    * </applet>
    * </xmp>
    * Parameters:
    * <b>targeturl:</b> The target to which the user agent is redirected
    * <b>targetframe:</b> name of the frame/window to be redirected
    * @author http://redeye.no
    public class Deflector extends Applet
         private static final long serialVersionUID = -878236489812416561L;
          * Constructs a new Deflector applet
         public Deflector()
              // Default contructor
          * Initializes the Deflector applet
         public void init()
              super.init();
              try
                   String url = getParameter("targeturl");
                   String target = (getParameter("targetframe") != null) ? getParameter("targetframe") : "_top";
                   if (null != url)
                        getAppletContext().showDocument(new URL(url), target);
              catch (MalformedURLException mue)
                   System.out.println("Error in target URL: " + mue.getMessage());
    }

  • How to submit a form in a web

    Hi, it's my first post in this forum and it's for asking a very rough problem.
    I want to log in a web which uses a form to authenticate. The page is: https://cv2008.uab.cat. I want that my program in java logs in and retrieves information from it (e.g. downloading a file). I've been studying the form and it uses POST method and requires to fill the username and password fields. Moreover I've found something interesting in the form:
    <input type="hidden" name="lt" value="_c23CA00BA-41D7-8934-6F3E-D754BD70ECBE_kAAFD1C38-B06B-2F6E-776D-92949E17286F" />
                                  <input type="hidden" name="_eventId" value="submit" />
    but I don't know what to do with it.
    Well, about the app, I've been trying to use common httpclient and the.net libs but I couldn't log in.
    Here is my last try:
    import org.apache.commons.httpclient.HttpClient;
    import org.apache.commons.httpclient.NameValuePair;
    import org.apache.commons.httpclient.methods.PostMethod;
    public class HttpClientTutorial {
        public static void main(String[] args){
             HttpClient client = new HttpClient();     
             String response = null;
             PostMethod authPost = new PostMethod("https://sac.uab.cat/login?service=https://cv2008.uab.cat/home/");
             NameValuePair[] data = {
                       new NameValuePair("username", "MY_USER"),
                       new NameValuePair("password", "MY_PASS"),
                       new NameValuePair("lt", "_c23CA00BA-41D7-8934-6F3E-D754BD70ECBE_kAAFD1C38-B06B-2F6E-776D-92949E17286F"), 
                       new NameValuePair("_eventId", "submit"), 
                       new NameValuePair("submit","submit")
             authPost.setRequestBody(data);
             try {
                  client.executeMethod(authPost); 
                  response = authPost.getResponseBodyAsString();
                  System.out.println(authPost.getStatusCode());
             catch(Exception e)
                  System.out.println("Error");
             authPost.releaseConnection();
             System.out.println(response);
    }I'd appreciate any help, thank you!
    Kits

    Hey malcolmmc,
    you were right, that eventId field changes every time I make a client.executemethod(authPost); the problem is that I need to do it to retrieve the value of that field but after I make the authPost.setRequestBody(data); with the information to fill the form, I need to execute the method again and then the value has changed again. So, I need to retrieve the value and "without closing that session" send the form. But I don't know how to do it, I think I'm very close to achieve it 'though!
    My code rightnow is:
    import org.apache.commons.httpclient.HttpClient;
    import org.apache.commons.httpclient.NameValuePair;
    import org.apache.commons.httpclient.methods.PostMethod;
    public class HttpClientTutorial {
         public static String search_lt(String content) {
             String ltValue = "";
             String lt = "lt\" value=\"";
             int i = 0;
             boolean foundIt = false;         
             int max = content.length() - lt.length();
             test:
                 for(i = 0; i <= max; i++) {
                     int n = lt.length();
                     int j = i;
                     int k = 0;
                     while (n-- != 0) {
                         if (content.charAt(j++)
                                 != lt.charAt(k++)) {
                             continue test;
                     foundIt = true;
                          break test;
              if (foundIt == true)
                   i = i + lt.length();                   
                   while (content.charAt(i) != '\"') {
                        ltValue = ltValue + content.charAt(i);
                        i++;
              else
                   System.out.println("Not Found.");
              return ltValue;
        public static void main(String[] args){
             String response, ltValue;
             HttpClient client = new HttpClient();          
             PostMethod authPost = new PostMethod("https://sac.uab.cat/login?service=https://cv2008.uab.cat/sessioCAS/usuari.jsp");
            try {
                 response = authPost.getResponseBodyAsString();
                 ltValue = search_lt(response);
                  NameValuePair[] data = {
                            new NameValuePair("username", "MY_USER"),
                            new NameValuePair("password", "MY_PASS"),
                            new NameValuePair("lt", ltValue), 
                            new NameValuePair("_eventId", "submit"), 
                            new NameValuePair("submit","INICIAR SESSIÓ")
                  authPost.setRequestBody(data);
                  client.executeMethod(authPost); 
                  response = authPost.getResponseBodyAsString();
                  ltValue = search_lt(response);
                  System.out.println(authPost.getStatusCode());
                  authPost.releaseConnection();
                 System.out.println(response);
            catch(Exception e) {
                 System.out.println("Error");
    }{code}
    Thank you for the help!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to submit a form, but not to trigger the validations

    Hi! I have a form on a table and I have 2 radio with submit. The problem is that when I click this radios the page submit and trigger the validations, so I get the "Field1 must have some value" error. How can I solve this problem?
    Thanks!
    Best regards,
    Vitaly

    Thanks Vikas!
    The problem that is that now it branches to another page( as if I pressed the Cancel button).
    Do you know why?
    Vitaly

  • HOw to submit flash forms?

    When changing the form to format flash, I now require the CFINPUT submit to have a name attribute, or an error will occur!
    say if I name this attribute submit and click the button I get an error - I know that I am getting an error because I am passing the name="submit" attribute over to the processing page and I get an error because its trying to pass this name attribute over to the database and that field name does not exsist!
    My problem is to understand how to overcome this problem when updating, adding or deleting the data?,
    If anyone knows a way to overcome this I would really welcome your know how.
    Thanks very much for reading me

    Can you pls post the code for both your form page and your action page.
    It's a bit hard to work out what might be wrong simply by staring at my crystal ball...
    Adam

  • How to Submit Struts Form with JavaScript ...!!

    Hi All,
    I have a JSP page with java script and form as shown below. When I click the delete button, the javascript alerts the message "Delete method called" and also in next alert I am getting the form object but the form is not getting submitted and its giving javascript error "Object doesnt support this property or method". Any ideas why?
    My java sctipt method
    <script language="JavaScript">          
         function deleteBillingItem() {
                   alert("Delete method called");
              document.billingItemManagerForm.action="deleteBillingItem.do";
              alert("Form Object-->"+document.billingItemManagerForm);
              document.billingItemManagerForm.submit();
    </script>
    My JSP Code is
    Here I have two buttons one is Edit which of type Submit and other is Delete which is of type just button
    <body bgcolor="#ECF9FF">
              <br>
                   <div class="title" style="margin-top:75px;"><bean:message key="billingItem.editBillingItem"/></div>
              </br>
                   <div align="center">
                        <table width="75%" cellspacing="1" width="435px">                         
                             <logic:notPresent name="billingItems">
                                  <tr>
                                       <td width="30%" class="evencell" style="color:black"><b><bean:message key="billingItem.noRecordsFound"/></b></td>
                                  </tr>                              
                             </logic:notPresent>
                             <logic:present name="billingItems">
                                  <tr>
                                       <td width="30%" class="evencell" style="color:black"><b><bean:message key="billingItem.name"/>     </b></td>
                                       <td width="70%" class="evencell" style="color:black"><b><bean:message key="billingItem.description"/></b></td>
                                  </tr>
                                  <logic:iterate id="billingItemManagerForm" name="billingItems">
                                       <html:form action="/editBillingItem">
                                            <tr>
                                                 <td width="30%" class="oddcell">
                                                       <b><bean:write name="billingItemManagerForm" property="name"/></b>
                                                 </td>
                                                 <td width="60%" class="oddcell">
                                                       <b><bean:write name="billingItemManagerForm" property="businessDesc"/></b>
                                                 </td>
                                                 <td width="10%" class="oddcell">
                                                      <html:hidden name="billingItemManagerForm" property="billingItemId"/>
                                                      <html:submit style="cursor:pointer"> <bean:message key="button.edit"/> </html:submit>  
                                                      <html:button property="buttonDelete" style="cursor:pointer" onclick="deleteBillingItem()"><bean:message key='button.delete'/>  </html:button>
                                                 </td>
                                            </tr>
                                       </html:form>
                                  </logic:iterate>
                             </logic:present>
                        </table>
                   </div>
              <font color="red"> <html:errors/> </font>
         </body>
    </html:html>Please help...!!! Thanks

    I am already having a bean for this...but Im bit confused....let me show u the entire code...how im doing...!!!
    In DAO class
       public ArrayList getBillingItemList() {
            log.debug("Entering getBillingItemList...");
            String sql =  null;
              ArrayList billingItemList = null;
              EntityTransaction tx = null;
            try {
                   billingItemList = new ArrayList();
                   em = emfForSettleEntry.createEntityManager();
                   tx = em.getTransaction();
                   tx.begin();
                sql = "select * from BillingItem"; //this table has id, name, description
                   billingItemList = (ArrayList)em.createNativeQuery(sql, BillingItem.class).getResultList(); //here the BillingItem is entity bean
                   tx.commit();
            } catch (RuntimeException e) {
                log.fatal("Fatal Error Occurred - Please contact Administrator:"+ commonUtils.getStackTraceAsString(e));
                return null;
            } catch(Exception e) {
                log.fatal("Fatal Error Occurred - Please contact Administrator:"+ commonUtils.getStackTraceAsString(e));
                   return null;
            } finally {
                em.close();
            log.debug("Exiting getBillingItemList...");
            return billingItemList;
    In my servlet
    if (request.getServletPath().equalsIgnoreCase("/editBillingItem")) {
         billingItemList = billingItemManagerFacade.getBillingItemList(); //facade calls dao method
         if (billingItemList.size() > 0) {
              session.setAttribute("billingItems", billingItemList);
         getServletConfig().getServletContext().
                             getRequestDispatcher("/BillingItemList.jsp").forward(request, response);
    and finally my jsp
    <html:html>
         <head>
              <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
              <title><bean:message key="billingItem.editBillingItem"/></title>
              <link rel="stylesheet" type="text/css" href="css/isoprofilerstyle.css">
              <script type="text/javascript" src="scripts/scrollableTable.js"></script>
              <script language="JavaScript">          
                   function deleteBillingItem() {
                        document.billingItemManagerForm.action="deleteBillingItem.do";
                        alert("Form Object-->"+document.billingItemManagerForm);
                        document.billingItemManagerForm.submit();
              </script>
         </head>
        <body bgcolor="#ECF9FF">
              <br>
                   <div class="title" style="margin-top:75px;"><bean:message key="billingItem.editBillingItem"/></div>
              </br>
                   <div align="center">
                        <table width="75%" cellspacing="1" width="435px">                         
                             <logic:notPresent name="billingItems">
                                  <tr>
                                       <td width="30%" class="evencell" style="color:black"><b><bean:message key="billingItem.noRecordsFound"/></b></td>
                                  </tr>                              
                             </logic:notPresent>
                             <logic:present name="billingItems">
                                  <tr>
                                       <td width="30%" class="evencell" style="color:black"><b><bean:message key="billingItem.name"/>     </b></td>
                                       <td width="70%" class="evencell" style="color:black"><b><bean:message key="billingItem.description"/></b></td>
                                  </tr>
                                  <logic:iterate id="billingItemManagerForm" name="billingItems">
                                       <html:form action="/editBillingItem">
                                            <tr>
                                                 <td width="30%" class="oddcell">
                                                       <b><bean:write name="billingItemManagerForm" property="name"/></b>
                                                 </td>
                                                 <td width="60%" class="oddcell">
                                                       <b><bean:write name="billingItemManagerForm" property="businessDesc"/></b>
                                                 </td>
                                                 <td width="10%" class="oddcell">
                                                      <html:hidden name="billingItemManagerForm" property="billingItemId"/>
                                                      <html:submit style="cursor:pointer"> <bean:message key="button.edit"/> </html:submit>  
                                                      <html:button property="buttonDelete" style="cursor:pointer" onclick="deleteBillingItem()"><bean:message key='button.delete'/>  </html:button>
                                                 </td>
                                            </tr>
                                       </html:form>
                                  </logic:iterate>
                             </logic:present>
                        </table>
                   </div>
              <font color="red"> <html:errors/> </font>
         </body>
    </html:html>
    Please let me know where and what changes I need to make...???

  • How to submit InfoPath form data to multiple SharePoint lists at one time?

    Hi,
    I'm looking for a way to submit certain data in InfoPath form to separate SharePoint lists at the same time. I have a form that has two views with many data in them. I want to keep these data in separate SharePoint list besides keeping them in the XML. I know that you can submit to a form library using SharePoint document library data connection, but I'm not sure if you can use several data connections for submitting data to multiple SharePoint lists. Is it only possible to do using code? If yes, can anyone show a sample. I have never coded in InfoPath, though I used C# a lot in .Net.
    Thank you!Regards,
    R.D.M.

    This is an old thread but I tripped over a codeless method to do this with OOB InfoPath 2010 and SP 2010. 
    Assuming your main InfoPath form is published to a document library with the promoted fields that you want to see.
      Publish your form to a new document library to capture the secondary data fields that you want separated out.
    Using the Publishing Wizard do the following:
    Go to – File then Publish
    Select SharePoint Server “ Publish form to a SharePoint Library”
    Enter location of your SharePoint or InfoPath Forms Services Site: 
    accept the default in this field from the first published event
    Next screen, keep the default or change it, Form Library, Site Content Type or Admin Approved
    Next screen, What do you want to do?
    Create a new form library
    Add new document library name and description
    Next screen, Remove all promoted fields not applicable to the new library and add all of the ones you want to see data for.
    Click Next and Publish
    Come back into the form: If you don’t have buttons added directly to the form to submit or update, add them.
    Create a new Action rule on the button
    Label the rule to keep it straight
    Condition, occurs when button clicked
    Add action, Submit data
    Use data connection to the second library created
    Create a second new Action rule on the same button
    Label the rule to keep it straight
    Condition, occurs when button clicked
    Add action, Submit data
    Use original data connection to the library
    Then you can add another action to close the form or do whatever you need.
    Republish the form to both libraries to set the template for both.
    File – Publish – SharePoint Server
    Select Secondary library from drop down follow the rest of the prompts
    Follow step 5a again, select Primary library from drop down, Add back in all of the promoted fields needed for the primary library and follow the prompts.
    DOCUMENT YOUR FORM WELL FOR MAINTENANCE
    Special considerations, your primary library needs a unique ID to reference in your secondary library.
    Your secondary library will need a unique ID that is not related to the primary if you are going to store multiple records for a single primary library reference. 
    Example: One form, multiple updates.

  • How to submit a form as a PDF

    I have created a form using Live Cycle Designer 8 from an existing Word document. I have added a "Submit by Email" button. Unfortunately, the button only submits the data in XML format. I would like submit the entire form as a PDF that can be read in Acrobat Reader.

    You can go edit the XML Source and replace the <br /><submit format="xml" ... with <submit format="pdf"<br /><br />OR (thank you to OP for following)<br /><br />Open as a Livecycle form <br />Drag a button from the pallet onto your form <br />Change the control type to submit <br />On the submit tab [Submit to URL:] enter "mailto:[email protected]" <br />Change the submit as filed to PDF <br />Save <br /><br />BUT when user will be working with the Acrobat free reader, it won't work... you will have to do:<br /><br />Open the form in Acrobat Pro <br />Select advanced menu <br />Click enable usage right in Adobe Reader <br />Save <br /><br />I'm search the forum to find the fix to that, whitout having to extended the user's right....

  • How to submit a form by pressing enter key

    Hi,
    I'm having a problem..............i have a form having text field and a button created using struts html tags..........when user enters the value and presses the button then the value is being taken...........
    but if the user enters the data and just presses enter key the form refreshaes but value is not submitted.............
    the button is created using <html:submit >tag.............can any one pls help me out with this???????????

    <script language="JavaScript">
    <!--
    var isNav, isIE
    if (parseInt(navigator.appVersion) >= 4) {
    if (navigator.appName == "Netscape")
    isNav = true
    else
    isIE = true
    function showKeyValue(evt) {
    var keyValue
    if (isNav)
    keyValue = evt.which
    else
    keyValue = window.event.keyCode
    /*status = keyValue*/
    if (keyValue == 13) {
    javascript:validateForm();
    return false
    </script>
    in the field call this method
    onKeyPress="showKeyValue(event)"

  • How to submit a form by using java?

    we have a jsp Login page, and i want to use a java program to pass username and password, then submit the login page.
    the Login page only has two text boxes and one submit button.
    Is there any idea or advice?
    waiting for your help.
    Thanks ahead.
    ted.

    I dont have time to write it now but I will cheak back
    here latter to seee if you got a answer yet if you
    have not I will write some basic code for you but for
    write now check into
    URL url = new URL("some.jsp_ "+"pass the parameter of
    the user name and pass throught here");
    URLConnection con = url.openConnection();
    and use a bufferwrite or what ever also you might want
    to encrypt the password befor you send it.
    Good luck talk to you laterthanks,
    you had gave me enough information, i'll try it and tell you the result later.
    Ted.

Maybe you are looking for

  • String Comparision in pl/sql

    Hi, i executed the below code and found that output should be 5 but it shows 7(always else part). it is not comparing string in case. can anybody state the reason. declare check_in_date date; var_day varchar2(11); rate_id number; begin check_in_date

  • Select statement or procedure

    Hi experts, I have to run the report every week In my sample data endreportafter column determines how many times the report runs run_sunday.... determines which day of the week the reportshould run (1 means reports runs on that day) startreportdate

  • What component to use for showing partial progress?

    In my application, I have a bunch of sub tasks assigned to clients. I want to show like a bunch of boxes: Representing the sub tasks, and updating them (maybe change their color) when the sub task is done, and adding Tool Tip text to show information

  • Changing a 'Reminder list' from iCloud to Exchange

    Hello there Genius'! I am so accustomed to apple products, that I actually have a reverse-apple related question: I started a new job in a PC environment and was provided an iPhone for work. Being that I am all Apple at home, I created several  Remin

  • I have 300 motown songs on my pc that show as an error  wont match or upload to i cloud

    i have 300 motown songs on my pc that wont match or load to the cloud shows as error