Multiple Submit buttons in Adobe form !

Hello Experts,
Scenario :
Form has Material number as input field and Material description should get automatically populated( maybe as a script or button , dont know yet ). Then the form is to be submitted at the backend.
I have created an Adobe interactive form with Multiple Submit buttons( one is Submit toSAP) button , other is a normal pushbutton( for Material desc to be populated ) . I have been able to Submit data at backend.
But problem is there is only one event on the Interactive form UI element properties.
Please suggest how to achieve the above ? via script or sm code in web dynpro ?
System Config :  WAS 6.4 /  SP12 .
Need a quick resolution. Generous points for help.
Regards,
Sonika

Hi Sonika,
control_param structure is used in case of ISR forms, but I dont think your form is related to the ISR.
Use a context attribute, and set its value to get the Material description from backend.
Like you can define an attribute in context, "GETDESCRIPTION", and set its value at the exit event of Inputfield to "GET".
$.parent.GETDESCRIPTION.rawvalue = "GET"
app.eval("event.target.SAPSubmit();");
And at the click event of the button you can write:
$.parent.GETDESCRIPTION.rawvalue = "SET"
app.eval("event.target.SAPSubmit();");
And in the backend, read the value of this attribute and perform the desired action.
Hope this helps,
Amit

Similar Messages

  • 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

  • 'http submit button' in Adobe forms

    Hi,
    How to use 'http submit button' in Adobe Interactive form layout?
    Actullay we need to generate xml from the data in Adobe forms.
    Thanks & Regards,
    Jeba.

    Hi,
    Please look into the blog link which explains how to use HTTP submit button .
    http://blogs.adobe.com/stevex/2006/05/http_submit.html
    Nanda

  • 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

  • Problem with Submit Button in Adobe Forms Central

    I have a PDF form that I uploaded to Adobe Forms Central.  I created the fillable fields & the submit button in Forms Central.  I have several documents like this.  All have worked in the past.  Today on my latest file, the submit button doesn't always work.  I am getting some submissions, but some people have reported to me that the submit button does not work.  I tested it myself to see.  I had to create a Digital ID for myself, which seemed to work fine.  But when I click on submit, the form says "Submission Failed.  This form can no longer be submitted. Please contact the author."  I'm the author & don't know what the problem is.  Anyone know what the problem could be?

    The form is open. I should have mentioned that I made sure to check that first.  The form was created by uploading an existing PDF file that I created from a MS Word file to Adobe FormsCentral. Once the form was completed, I had a coworker test it & it worked.  We sent the form out & I have received some back, but have also received reports of the form not working.  I downloaded the form to my computer & tested it using Adobe Acrobat 9.0 Standard.  I use a Windows environment on a Dell laptop.  The form does not work for me.

  • Multiple submit buttons in flash form

    I need to make this page so that when the submit button is
    pressed, the action page will be based on the cfforgroup, not on an
    overall form action. Essentially I have 2 main tabs and multiple
    tabs underneath each one of those that need seperate action calls
    on submit:
    <cfquery name="modelinfo" datasource="inventory">
    SELECT cd_manufacturer.name + ' ' +
    model + ' ' +
    processor_type + ' ' +
    processor_speed AS system,
    cd_manufacturer.name + ',' +
    model + ',' +
    processor_type + ',' +
    processor_speed AS val_list
    FROM cd_manufacturer
    INNER JOIN cd_model ON
    cd_manufacturer.pk_manufacturer=cd_model.fk_manufacturer
    </cfquery>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title></title>
    </head>
    <cfquery name="modelinfo" datasource="inventory">
    SELECT cd_manufacturer.name + ' ' +
    model + ' ' +
    processor_type + ' ' +
    processor_speed AS system,
    cd_manufacturer.name + ',' +
    model + ',' +
    processor_type + ',' +
    processor_speed AS val_list
    FROM cd_manufacturer
    INNER JOIN cd_model ON
    cd_manufacturer.pk_manufacturer=cd_model.fk_manufacturer
    </cfquery>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>IT Asset Tracking System Main Menu</title>
    </head>
    <body>
    <cfform format="flash">
    <cfformgroup type="tabnavigator"><!--begin main
    navigation-->
    <cfformgroup type="page" label="Asset"><!-- Begin
    sub page ASSET---->
    <cfformgroup type="tabnavigator"><!-- Begin sub
    page ASSET navigator---->
    <!---ADD ASSET START (uses asset_processes/newAsset.cfm
    for processing)---------------------->
    <cfformgroup type="page" label="Add Asset"
    action="asset_processes/newAsset.cfm">
    <cfset vdate=DateFormat(Now(), "mm/dd/yyyy")>
    <cfinput type="datefield" name="cdate" width="150"
    label="Entry Date" validateat="onSubmit" validate="noblanks"
    required="yes">
    <cfselect
    label="System Type"
    name="modelinfo"
    query="modelinfo"
    required="yes"
    multiple="no"
    display="system"
    value="val_list"
    width="350">
    </cfselect>
    <cfinput type="text" name="location" width="150"
    label="location" validateat="onSubmit" validate="noblanks"
    required="yes">
    <cfinput type="text" name="user" width="150" label="user"
    validateat="onSubmit" validate="noblanks" required="yes">
    <cfinput type="submit" name="submit" value="Create New
    Asset" />
    </cfformgroup><!--end page Add Asset -->
    <!------------END PAGE ADD
    ASSET------------------------------------------------------>
    <!--------------- Assign LotID START (uses
    standard/assignLotID.cfm for processing)--->
    <cfformgroup type="page" label="Assign lotID">
    </cfformgroup><!--end page Assign LotID -->
    <!-----------------ASSIGN LOTID
    END------------------------------>
    <!----------------------Add to surplus
    START--------------------->
    <cfformgroup type="page" label="Add to Surplus">
    </cfformgroup><!--end page add to surplus -->
    <!------------------END ADD TO
    SUPLUS------------------------------>
    <!---------------------------ADD OTHER
    START----------------------->
    <cfformgroup type="page" label="View Inventory (not
    surplused)">
    </cfformgroup><!-- end page "View Inventory (not
    surplused)"-->
    <!---------------------------END
    OTHER---------------------------->
    </cfformgroup><!-- end sub page ASSET--------->
    </cfformgroup><!-- end sub page ASSET
    navigator---->
    <cfformgroup type="page"
    label="maintenance"><!--begin sub page maintenance-->
    </cfformgroup><!--end sub page maintenance-->
    </cfformgroup><!-- end main navigation -->
    </cfform>
    </body>
    </html>

    Here's my code and thanks for your help!
    <!--- begin form --->
    <cfform format="flash" width="850" height="750"
    action="insert.cfm" skin="haloblue">
    <!--- begin tab navigator --->
    <cfformgroup type="tabnavigator">
    <!--- Begin check out tab --->
    <cfformgroup label="Equipment Check-Out" type="page"
    width="600">
    <cfinput type="datefield"
    name="dueDate"
    label="Due Date:" message="Please Select a Valid Due Date"
    validate="date"
    required="yes"
    width="100">
    <!--- Equipment Information --->
    <cfselect enabled="yes" name="equipTag" size="1"
    label="Select Property Tag:" required="yes" multiple="no"
    width="100">
    <cfoutput query="allEquipTag">
    <option value="#equipTag#">#equipTag#</option>
    </cfoutput>
    </cfselect>
    <!--- Person Information --->
    <cfinput type="text"
    name="csulbID"
    label="CSULB ID:"
    message="A CSULB ID is required and must be 9 Digit!"
    mask="999999999"
    required="yes"
    size="10"
    maxlength="9" >
    <cfinput type="text"
    name="fName"
    label="First Name:"
    message="A First Name is required!"
    required="yes"
    size="10" >
    <cfinput type="text"
    name="lName"
    label="Last Name:"
    message="A Last Name is required!"
    required="yes"
    size="10" >
    <cfinput type="text"
    name="phone"
    label="Phone Number:"
    message="Phone Number is required!" mask="999-999-9999"
    required="yes"
    size="10" >
    <cfinput type="text"
    name="email"
    label="Email:"
    message="Email required! i.e. [email protected]"
    required="yes"
    validate="email"
    size="15" >
    <cftextarea name="notes"
    label="Additional Notes:"
    rows="5"
    width="300"/>
    <cfinput type="submit" name="btnSubmit" Label='checkOut'
    tooltip="Submit Check-Out Information" id="btnSubmit"
    value="Submit">
    <!--- end check-out tab--->
    </cfformgroup>
    <!--- start Check-In Tab --->
    <cfformgroup label="Equipment Check-In" type="page"
    width="850" height="700">
    <!--- start data grid--->
    <cfgrid name="equipCheckInGrid"
    query="equipCheckIn"
    selectmode="browse"
    griddataalign="left"
    height="300"
    width="800">
    <!--- Don't show all columns and change header
    name--->
    <cfgridcolumn name="dueDate" header="Due Date">
    <cfgridcolumn name="checkOut" header="Checked Out">
    <cfgridcolumn name="checkIn" header="Checked In">
    <cfgridcolumn name="csulbID" header="CSULB ID">
    <cfgridcolumn name="fName" header="First Name">
    <cfgridcolumn name="lName" header="Last Name">
    <cfgridcolumn name="phone" header="Phone">
    <cfgridcolumn name="email" header="Email">
    <cfgridcolumn name="notes" header="Additional Notes">
    <cfgridcolumn name="equipTag" header="Equip Tag">
    <!--- end data grid--->
    </cfgrid>
    <!--- start input fields--->
    <cfinput type="text"
    name="checkInEquipTag"
    label="Equipment Tag:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['equipTag']}"
    size="15">
    <cfinput type="text"
    name="checkInDueDate"
    label="Due Date:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['dueDate']}"
    size="15">
    <cfinput type="text"
    name="checkInCheckOut"
    label="Checked Out:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['checkOut']}"
    size="15">
    <cfinput type="text"
    name="checkInCheckedIn"
    label="Checked In:"
    width="150"
    value="#DateFormat(now(), "MM/DD/YYYY")#">
    <cfinput type="text"
    name="checkInCSULBID"
    label="CSULB ID:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['csulbID']}"
    size="15">
    <cfinput type="text"
    name="checkInFName"
    label="First name:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['fName']}"
    size="15">
    <cfinput type="text"
    name="checkInLName"
    label="Last Name:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['lName']}"
    size="15">
    <cfinput type="text"
    name="checkInPhone"
    label="Phone:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['phone']}"
    size="15">
    <cfinput type="text"
    name="checkIneEmail"
    label="Email:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['email']}"
    size="15">
    <cftextarea type="text"
    name="checkInNotes"
    label="Additional Notes:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['notes']}"
    width="300"
    rows="5"/>
    <cfinput type="submit" name="btnUpdate" Label='update'
    tooltip="Submit Update Information" id="btnSubmit"
    value="Check-In">
    <!--- end Check-In Tab --->
    </cfformgroup>
    <!--- overdue tab --->
    <cfformgroup label="Equipment Over-Due" type="page"
    width="850" height="700">
    <cfgrid name="equipOverDueGrid"
    query="equipOverDue"
    selectmode="browse"
    griddataalign="left"
    height="300"
    width="800">
    <!--- Don't show all columns and change header
    name--->
    <cfgridcolumn name="dueDate" header="Due Date">
    <cfgridcolumn name="checkOut" header="Checked Out">
    <cfgridcolumn name="checkIn" header="Checked In">
    <cfgridcolumn name="csulbID" header="CSULB ID">
    <cfgridcolumn name="fName" header="First Name">
    <cfgridcolumn name="lName" header="Last Name">
    <cfgridcolumn name="phone" header="Phone">
    <cfgridcolumn name="email" header="Email">
    <cfgridcolumn name="notes" header="Additional Notes">
    <cfgridcolumn name="equipTag" header="Equip Tag">
    <!--- end data grid--->
    </cfgrid>
    </cfformgroup>
    <!--- end tab navigator--->
    </cfformgroup>
    </cfform>

  • Http submit button in Adobe form

    hi,
       I have created one adobe offline form and placed one http submit button but after filling data where my data will get stored...
       I want to give some url for this button what type of url it should be.Give some example...
    With regards,
    Kiruthika.s

    Hi,
      I didnt created in webdynpro so iam not creating any context variable. I used the form designer and designed the form i want to integrate this in GP.
       I want to know what is the url i have to give in submit button

  • WebDyn pro code doesnt call on perssing Submit  button in Adobe forms

    Hi all,
       I am tryng to save data from Adobe form into SAP, by clicking Submit Button.
    for this submit button I have selected *click event and in Web Dynpro event onSubmit written method.
    to see flow I put a Break-Point inside method, when I executive this application and click on submit button
    control doesn't go to the Break-Point.
      can anybody help me in this.
    Thanx..

    HI,
    Check whether u have dragged and dropped WebDynpro ActiveX Submit button..
    Also check whether u hv given the property *"displayType"*  in MAIN view--> Layout Tab as ActiveX.
    And if u hv any javascript coding for that Submit button, u hv to goto *Utilities--> insert scrip*.
    For this u hv to check the form is in change mode and then only u can insert the script
    Regards,
    Surya

  • How to use multiple submit buttons in jsp form

    hello dextors,
    Im using a jsp page which have got some 'n' no submit buttons according to the Iterator ..each iterator display a row contains few fields plus submit button ..ex., If ' n' rows means 'n' respective submit buttons..the problem here is when i click any of the submit button only the value of the first row goes
    to the other jsp page..no matter wat ever button I click only first row goes..
    remember the page displays all the rows correctly and though the values of submit button are also different it gives the same result...
    what could be the reason please help it out...
    my jsp page contains
    <%@ page language="java" import="java.util.*" %>
    <%@ page language="java" import="java.io.*" %>
    <form name="frmChangeCorrection" method="post" target="childwindow" action="popup.jsp" >
    <body>
    <%
    RFTrackerDAOFactory factory = new RFTrackerDAOFactory();
         DailyDataDAO dailyDAO = factory.getDailyDataDAO();
         String month = request.getParameter("month");
         String year = request.getParameter("year");
         String empNo = request.getParameter("empno");          
         Collection coll = dailyDAO.getMonthyEmployeeData(empNo,month,year);
    Iterator iter = coll.iterator();     
    %>
    <div align="center">
    <center>
    <table border="1" width="75%" bgcolor="#B6C7E5">
    <tr>
    <th width="11%">EMPNO</th>
    <th width="30%">EMPLOYEE NAME</th>
    <th width="11%">DATE</th>
    <th width="11%">IN TIME</th>
    <th width="11%" >OUT TIME </th>
    <th width="15%" >TOTAL HRS</th>
    <th width="11%" >MODIFY</th>
    </tr>
    </table>
    </center>
    </div>
    <%
    int count=0;
    while(iter.hasNext())
         EmployeeData data = (EmployeeData)iter.next();
         String str=data.getDuration();
         String str1= str.substring( 0, 5 );
    count++;
    %>
    <div align="center">
    <center>
    <table border="1" width="75%" bgcolor="#B6C7E5">
    <tr>
    <td width="11%"> <%= data.getEmpNo() %> </td>
    <input type="hidden" name="empno" value="<%=data.getEmpNo() %>">
    <td width="30%"> <%= data.getEmpName() %> </td>
    <input type="hidden" name="empname" value="<%= data.getEmpName() %>">
    <td width="11%"><%= data.getDate() %> </td>
    <input type="hidden" name="date" value="<%= data.getDate() %>">
    <td width="11%"><%= data.getInTime() %> </td>
    <td width="11%" > <%= data.getOutTime() %> </td>
    <td width="15%" > <%= str1 %> </td>
    <td width="11%" > <input type="submit" name="Change" value="<% =count%>" onclick="popupResult()" >
    <input type="hidden" name="Change" value="<%=count%>" >
    </td>
    </tr>
    </table>
    </center>
    </div>
    <%
    %>
    </form>          
    </p>
    </table>
    </body>
    <script>
    function popupResult(){
    window.open('about:blank','childwindow', 'height=300,width=300');
    </script>

    It is assumed that one submit button will function for a form..if you want more that one submit form try to build as many forms as u need and put the submit inside that
    that will cure your problem
    and y do you want to create so many submit buttons.. instead you can make use of select button

  • Multiple Submit buttons on one form

    I'm developing an application that will have 4 buttons at the bottom of the form to do various things with the form information. One of the buttons will link to a separate web page for confirmation of the action. I tried to set a global variable and place an onclick event for the button which assigns a specific value for that variable. I then placed a <jsp:forward tag in my code that would be included if the global variable was the specific value which the button changes it to. I"m not sure if I'm being clear here. There is the forms page with the 4 buttons. It possesses all of this code. So the global variable is declared at the top. The variable is set if the 'Delete' button is clicked. And further down there is an if statement used to include the <jsp:forward tag when the 'Delete button has been pressed and this form is again being drawn up.
    What I describe doesn't work. The global variable I guess is reset when this form is drawn up a second time after the 'Delete' submit button is pressed. I''m not married to the way that I'm solving this problem at this point so I'll take any suggestions. But basically I want the Web Forms fields to be sent to this delete jsp so that I can confirm the command to delete the indicated record from the database. The three other buttons on this form are 'Add/Update', 'Rename', and 'Cancel'. The Add/Update and Rename buttons should also be submit buttons but they should link back to the same page as they are located on. The cancel button is to return the user to the index page. I have this working using a document.location.href command in the onclick event for that button.
    Brian

    Hi Brain. If I'm following your thoughts, you may want to consider replacing the four sumbit buttons with four radio control buttons and one submit button.
    I would suggest that you set your form action via a radio control button then, thru the form action, pass the form to a Servlet or JSP that contains some logic.
    <!doctype html public "-//w3c//dtd html 3.2 final//en">
    <html>
    <head>
    </head>
    <body>
    <!-- set your action here to go against a Servlet or JSP.  The
         Servlet or the JSP will contain the logic to Delete, Add/Update, Rename or Cancel
         based on the formAction value.
    -->
    <form action='ServletOrJSPNameHere' method='post'>
    <br> <input type='radio' name='formAction' value='Delete'>Delete
    <br> <input type='radio' name='formAction' value='Add/Update'>Add/Update
    <br> <input type='radio' name='formAction' value='Rename'>Rename
    <br> <input type='radio' name='formAction' value='Cancel'>Cancel
    <br> <input type='submit' value='submit'>
    <form>
    </body>
    </html>
    // this code would go into your Servlet, JSP, or worker class
    String formAction = request.getParamger("formAction");
    // test for null value  
    if ( formAction == null ) { 
         // reload the page with a message to pick a radio button
    else if ( formAction.equals("Delete") {
       doTheDeleteProcessing();
    else if ( formAction.equals("Add/Update") { 
       doTheAdd/UpdateProcessing();
    else if ( formAction.equals("Rename") {
       doTheRenameProcessing();
    else {
       doTheCancelProcessing();
    }I hope this helps.

  • Submit button on adobe forms

    Is there a way to ensure the submit feature (using the interactive button) will work in all  browsers?  I have created optimized PDF forms and the submit button works only in Explorer.

    Hi Bill, Thanks for the reply.  The actual PDF is here.  I've been creating the forms in Acrobat then saving them optimized.  Yes, browsers we see issues with are firefox and Chrome.  But if MACs create another issue perhaps we'll just remove the "submit" button completely.  We tried creating forms in FormCentral but need to send each form to different health care workers.  Unfortunately FormCentral does not allow email notifications to go to non-account holder addresses.
    thanks for the reply!

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

    Hi all,
    I am having this weird problem, the submit button wont trigger any event i register to "submit" and so as to the "check" event. when i send the link to one of my colleagues, the button can trigger the event.
    i am using adobe reader 8 on IE 6, didn't solve the problem when i downgrade it to reader 7.
    any advice???
    Thank you.

    Hi,
    I too had a similar problem sometime back regarding the Submit button. Since you are saying that it is working for your colleague but not you, I predict that something wrong with the network you are in, compared to that of your friend.  Have you provided the Preprocessor URL for the button in the Adobe designer?
    Cheers
    Madhu

  • How to distribute a form with multiple submit buttons?

    I have a form that has multiple submit buttons depending on the information that is being entered and then who the information should go to.  When I try to disbribute the form, I get an error message stating the following, "Acrobat is unable to distribute this form because it contains multiple submit buttons with different formats or return URLs."  Is anyone able to let me know how I can distribute the form?

    Sounds as if you need your own web script to process submissions - written by an experienced web programmer (I very strongly recommend someone familiar with all the latest security weaknesses, and not a project for anyone else). Your needs are (it seems to me) too complex for Adobe's automatic system.

  • Submit Button in adobe interactive form

    Hi All,
    Anyone have step by step how to use SUBMIT button in adobe interactive form?
    The scenario is:
    I am using ABAP Program (SE38) to display the form, then user will enter value some required fields in the form. After user klik SUBMIT button in the form, the value will be stored in customized table in SAP system.
    Kindly advise.
    Thanks,
    Nonik

    Hi Chintan,
    Basically, I have tried to search in the forum within this two days... But I could not find the step by step how to do it. Anyway, I will try to search again. Really appreciate if you don't mind give me the link of it.
    Hi Otto,
    I have created the WD application. Unfortunately, the requirement is online processing form which is attached in the SAP transaction. So, when user open document number of one transaction, the form will be displayed and user can fill the information in this form. Then after that user will click SAVE button to submit data to SAP.
    Any advise?
    Thanks,
    Nonik

  • Multiple submit button on a single form

    hi all,
    My current system have 1 submit button with single form. This submit button will call file_content.upload.
    htp.p('function on_submit() {');
    htp.p('     ...the rest of my code here..');
    htp.p('     document.forms[0].submit();');
    htp.p('     return true;');
    htp.p('}');
    htp.p('<form enctype="multipart/form-data" method="post" action="file_content.upload">');
    htp.p('     ...the rest of my code here..');
    htp.p('<input type="button" id="btn_Submit" value="Submit" onclick="on_submit()"></form>');
    My question is, i want to enhance this by adding additional 1 submit button with value "Save". But this new "Save" button will call/trigger different file. This new button will call file_content.update. How to accomplish this and how to differentiate these 2 button?
    htp.p('<input type="button" id="btn_Submit" value="Submit" onclick="on_submit()"> 
    <input type="button" id="btn_Save" value="Save"></form>');
    Appreciate any help from you guys. Thanks
    Edited by: morezack on Jul 20, 2011 8:21 PM
    Edited by: morezack on Jul 20, 2011 8:29 PM

    PLEASE IGNORE THIS THREAD. ACCIDENTLY SUBMIT IT. I WANT TO DELETE THIS BUT CANNOT

Maybe you are looking for

  • My ringer buttons do not function and my video recordings have no sound

    My ringer is not responding to the volume buttons on my iphone and my videos are now silent can anyone help please

  • % operator in Enum Type

    Dear fellow developers, Below is code calculating your weight on different planets using Enum type, from the book of Sun on Java Tutorials. Can anyone tell me what does "%" mean in "%s", "%f" and "%n"? How does all three managed to get in the for-eac

  • Delivery block based on incoterms

    Hi all, In standard SAP, is it possible to set a delivery block if a certain incoterm is selected in the sales order? Thanks

  • Can i get a data from gyroscope clip without myRIO

    Hi everyone, 我是labview的新手,因要完成我的fibnal year project.現在才學labview,因手上的設備有限,請問各位有方法不購買myRIO,又可拿data嗎? 已經有的設備如下: DQA box (USB-6431) labview 2012 謝謝各位

  • Mac mail: slow reply button

    Help! I literrally make a living from my mac mail. It has many improvements, but when I click on REPLY on my inbox to any email, it takes 2-5 seconds, and sometimes I see the dreaded colorful ball and my comptuer doesn't work while this happens. Than