Connecting three frames to one submit button

Hi,
I have three frames (jsps) that hold one LOGICAL forms data. I would like to submit all three frames together with one submit button, which is located in the third frame(bottom one). Any ideas on how to link all the three frames to one submit button.
thanks in advance,
Rahul

Thanks all , but I have been able to figure out how to solve the problem. This problem was easily solved using the Document Object Model. Essentially the Frameset contains the three frames which in turn contain forms. Following is the code that handles the submission:
<form name="bottom" onSubmit="top.middle.document.middleform.submit();" method="POST" action="postit.jsp">
where top refers to the frameset, middle is the middle frame and middleform is the name of the form in the middle frame. This code exists in the form in the frame at the very bottom. So when the user clicks submit in the form in the bottom frame, the form in the middle frame gets submitted as well.

Similar Messages

  • 2 forms on page -- one submit button?

    Using Dreamweaver CS3 I've created a page that basically has
    2 forms on it. Each form is connected to its own recordsource /
    database (but display information regarding the same customer).
    Right now there's a "submit" button underneath each form.
    I'd really like to be able to set this up so that there is
    only one "submit" button and it updates both databases from the
    form data once it is pushed.
    Is this possible? If so, could someone please point me to
    some directions on how to do it?
    Any help would be greatly appreciated.
    Thank you.

    It is possible, but the easiest way would be to combine the
    two forms into a
    single one. Why not do it that way?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "GlennC02108" <[email protected]> wrote in
    message
    news:g9ejc0$rge$[email protected]..
    > Using Dreamweaver CS3 I've created a page that basically
    has 2 forms on
    > it.
    > Each form is connected to its own recordsource /
    database (but display
    > information regarding the same customer).
    >
    > Right now there's a "submit" button underneath each
    form.
    >
    > I'd really like to be able to set this up so that there
    is only one
    > "submit"
    > button and it updates both databases from the form data
    once it is pushed.
    >
    > Is this possible? If so, could someone please point me
    to some directions
    > on
    > how to do it?
    >
    > Any help would be greatly appreciated.
    >
    > Thank you.
    >

  • How do I create multiple TEBs with one submit button on one page in Captivate 7

    I've read other posts on this topic (which refer primarily to earlier versions of Captivate) and am still at a loss as to how to put multiple text entry boxes on a page with one submit button. Here's my scenario:
    I am creating test questions.
    Each test question has multiple text entry boxes (for numbers only).
    Student should be able to enter numbers into the textboxes in any order.
    Then there is one Submit button that should initiate validating all the text entries, and move to a scoring page (so I can test it). (What would be best is if this button not only did the above, but also submitted scores to the LMS.  But that is not my question at this time.)
    I'd like this question to be set up as a template so that I can duplicate it, be able to add or delete text boxes and change the values required in the text boxes.  
    Here is an image of a sample question page with multiple TEBs. The yellow boxes tell the student where they need to enter text:
    Any help or direction to help is appreciated!!

    I think the problem here is that Arlhoolie wants all of the different TEBs to behave as if they were part of a single interaction that submits only ONE result to the quiz.  Using multiple TEBs in Captivate means that you have multiple scored objects and therefore multiple results being submitted to the quiz.
    If you want a single Success or Failure result submitted to the quiz based on the results from multiple interactive objects then there really is no simple way to do it.  But you could try using the Infosemantics Interactive Master widget to combine all the TEBs as slave objects that report to the Master Widget, which then reports a single score to the quiz based on the results from the slave objects.
    You can learn more about the Master widget here:
    http://www.infosemantics.com.au/adobe-captivate-widgets/interactive-master
    http://www.infosemantics.com.au/interactivemaster/help
    You can download a free trial version of the widget here:
    http://www.infosemantics.com.au/adobe-captivate-widgets/download-free-trial-widgets
    One caveat you should be aware of is that this widget is not HTML5 compatible.

  • How can I add more than one submit button in a jsp without use of javascrip

    I want to add more than one submit button in a jsp without use of javascript

    you can do add multiple submit button with this way
    <input type="submit" value="Previous" />
    <input type="submit" value="Next" />
    <input type="submit" value="Finish" />

  • Multiple Forms w/ One Submit Button

    Hello,
    I'm trying to create something for a little league team. I
    have a MySQL database with 2 columns, i.e. Name/Age.
    I currently have 9 forms on one page, with one submit button.
    Name - (Text Field)
    Age - (Text Field)
    Name - (Text Field)
    Age - (Text Field)
    etc.
    I only want one submit button to submit all the forms into
    the name/age columns of my database instead of having to include a
    different button next to each form. But, so far, when I try,
    instead of inserting all 9 forms with the one submit button, only
    the first form gets inserted into the name/age columns of my
    database. I'd greatly appreciate any help. I have no idea what to
    do.

    quote:
    Originally posted by:
    bregent
    That will never work. Use 1 form and then either write a
    script
    Thanks for the help bregent. You mean like a PHP script or
    something?
    quote:
    Originally posted by:
    bregent
    use a stored procedure to loop through the fields and insert
    them into the db.
    I know wayyyy to little about web design to understand what
    that means.
    Thanks,
    Jennifer

  • Can we have one submit button for mutliple report regions querying same tbl

    Hello,
    I have a normal multiple report regions in a page with some editable in those regions, these report regions are querying the same table. Now, Is it possible to have one submit button for all the report regions to update the underlying table data?
    Can anyone please help me out with this one.
    thanks,
    Orton

    First you'll almost certainly need to roll your own - the built-in stuff is fairly basic and more than likely won't help.
    It sounds like your process flow should be something like:
    1) Person clicks button.
    2) You do a select for update in the process to get the loan id and put it in the person's queue. At this point you may want to flag that column as having been assigned so it can't be assigned again.
    3) You then forward them to the form to enter data. Personally I would create my own items and processses and forgo the built-in form stuff but you may be able to use the Automated Row Fetch. If you do your own, you just reference the objects like:
    insert into table
    values(:P1_1, :P1_2, :P1_3)Edit - Another way would be to use a regular form and insert Stop/Start Tables - so it can look like a different section, but it really is just a label. Thats another option.

  • One submit button - Insert Record and Update Record

    I have a form in Dreamweaver CS3, using ASP VBScript and an
    Access database. When submitted, the form inserts a record into the
    table CountDate01. The record comes from a hidden field that gets
    its value from a field within that same table. There is no other
    data entered by the user in any other form fields. The info the
    form submits comes from: rsDate1Avail.Fields.Item("Date01").Value
    I would like if the same Submit button could also update a
    record in a second table (registrants) at the same time. I would
    like to submit the same info that comes from the hidden field to
    the second table. So it would be two actions occurring that both
    insert and update in 2 different tables from one submit button. Is
    this possible?
    Here is the code for the existing form action:
    <%
    If (CStr(Request("MM_insert")) = "submitDate1") Then
    If (Not MM_abortEdit) Then
    ' execute the insert
    Dim MM_editCmd
    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_MumConn_STRING
    MM_editCmd.CommandText = "INSERT INTO CountDate01 (Date01)
    VALUES (?)"
    MM_editCmd.Prepared = true
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param1", 135, 1, -1,
    MM_IIF(Request.Form("hiddenField"), Request.Form("hiddenField"),
    null)) ' adDBTimeStamp
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close
    ' append the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "form_FT_4.asp"
    If (Request.QueryString <> "") Then
    If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0)
    Then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" &
    Request.QueryString
    Else
    MM_editRedirectUrl = MM_editRedirectUrl & "&" &
    Request.QueryString
    End If
    End If
    Response.Redirect(MM_editRedirectUrl)
    End If
    End If
    %>

    >I have a form in Dreamweaver CS3, using ASP VBScript and
    an Access
    >database.
    > When submitted, the form inserts a record into the table
    CountDate01. The
    > record comes from a hidden field that gets its value
    from a field within
    > that
    > same table. There is no other data entered by the user
    in any other form
    > fields. The info the form submits comes from:
    > rsDate1Avail.Fields.Item("Date01").Value
    >
    > I would like if the same Submit button could also update
    a record in a
    > second
    > table (registrants) at the same time. I would like to
    submit the same info
    > that
    > comes from the hidden field to the second table. So it
    would be two
    > actions
    > occurring that both insert and update in 2 different
    tables from one
    > submit
    > button. Is this possible?
    Yes. Use a command on the redirect page to update the data.
    No, wait, the
    ASP COMMAND IMPLEMENTATION IS BROKEN IN CS3, and remains
    broken in CS4. So
    sorry, you'll have to hand-code it.
    Sorry, I'm just a little bit bitter about the callous
    attitude Adobe has
    shown in fixing the KNOWN BUGS IN THEIR SOFTWARE.

  • How can I get one Submit button to perform three actions?

    I have a 2-page form. One page is completed by an HR person, entering fields that describe a new role, new pay, new hours or a new location for an existing employee. The second page automatically repeats the name, location and job role fields, but also completes the IT requirements linked to the job role (such as whether or not the role needs access to a particular piece of software or not).
    The users of the form will have varying degress of IT capability. I wan to enable them to press a single Submit button that does three things: first, print the first page of a two-page form AND e-mail the same page to one e-mail address. Second: e-mail the second page only to a DIFFERENT e-mail address.
    I am not a Javascript expert - or even a beginner. Can anyone help? I need to get this ready for Tuesday! Thanks in advance

    You will need two buttons on your form to be able to do this.
    One is the actual submit button (this will interact with th email system and do the submit). Note that you cannot write programs on a submit button. You will need to make this button invisible to the user. The second button will be a regular button which you can write programs on. Use teh click event of that button. This one will have logic to accomplish the things that you want ...here is some pseudo code to do this:
    use print command and one of the parms indicates which pages to print.
    Set up the submit button to hold the email address of the person recieving it.
    Programmatically click the hidden submit button.
    Note that the user will recieve a dialog from the mail client to OK before teh form will be sent.
    Set up the submit button to change the email address
    Programmatically click the submit button again
    User will recieve another dialog to OK the email submission
    Also you cannot email part of the form it will have to be the whole form. You coudl get a little more sophisticated and hide parts of the form but the whole form will be sent with the emails. This will need more programming on your part.
    Paul

  • Can you have more than one submit button on a form?

    I'd like to divide a form so that there are two sections, each with their own submit buttons.  Is it possible to have more than one and if so, how do you "create" a button?

    Hi,
    You could try Redirect URL under Options tab. The way is you create two forms instead of two sections. Let's say form A and form B, then set form A's Redirect URL to form B.
    After submit form A, it will jump to form B after seconds, which you can also set in Redirect URL option.
    Let me know if this can help you.
    Thanks,
    Pengpeng

  • Submitting multiple forms with one Submit button?

    I'm working to create a web app for the iphone and am using
    an apple developed css within an html page. In doing so I have
    created three forms within the single page and would like to submit
    them simultaneously with one submit. I've looked and tried a few
    javascripts but nothing has worked thus far. All three forms call
    the same action (php).
    Is this possible using js or another function?

    .oO(iRyFlash)
    >I'm working to create a web app for the iphone and am
    using an apple developed
    >css within an html page. In doing so I have created three
    forms within the
    >single page and would like to submit them simultaneously
    with one submit. I've
    >looked and tried a few javascripts but nothing has worked
    thus far. All three
    >forms call the same action (php).
    >
    > Is this possible using js or another function?
    Make it a single form.
    Micha

  • PDF form with one submit button that prints form and sanves PDF with data with a unique file name

    We have a long medical form that patients can fill out at kiosks as they wait to see a doctor. We want one button so that the patient can print out the form with one click (and finish filling it out by hand if it's not finished already) and the same button click will save the form with a unique file name (using last name, first name, date, and/or email address so that the identity of the person who filled out the form will be readily apparent to anyone who wants to grab the user's responses later). Is Acrobat capable of doing something like this? LiveCycle Designer maybe? And if we continue with the PDF form and add a submit button, is there a way to program the button click to print and to save?
    Thank you in advance of any suggestions that might accomplish this task.

    I am not sure about the print, but it can probably be done -- possibly with a bit of JavaScript. As to the saving of the form, that is not reasonable at a kiosk. You would want the data submitted to a server (particularly with patient data), no e-mail or accessible drive. You can collect the data and put it in a database or import it to the form for printing yourself.

  • Two functions on one submit button??

    Is it possible to have a button perform 2 functions?
    I would like to have one single button that when clicked will submit the form as pdf to an email address and also print the form to the default printer.
    I have been able to have the button working for email OR print but not for the two.
    When I add the JS code to the submit button to print the form the code is ignored.
    The email dialog box shows and I can then send the email but the pdf is not printed.
    Any help is appreciated,
    FayeC

    use this in a button click event.<br />//capture present XML in a variable<br />var printXML = xfa.data.saveXML();<br />//do the following if you want to print part of the XML<br />var startAt = printXML.indexOf("<SendXML");<br />var endAt = printXML.indexOf("</SendXML");<br />printXML = ""+printXML.substring(startAt, endAt+11)<br />//11 is length of the XML tag may have to adjust this based on<br />//end results.<br /><br />var subj = "email with XML and PDF";<br />//following composes email with PDF attachment<br />event.target.submitForm({cURL:"mailto:[email protected]?&body=following is the final XML<BR>"+printXML+"<BR>&subject="+subj,cSubmitAs:"PDF",cCharset:"utf-8"});<br /><br />Good Luck,<br />Sekahr

  • Change three frames with one hyperlink

    Hello,
    I am new to Java and was wondering if it is possible to refresh more than one frame with one hyperlink. My webpage consists of three frames and I want to change all three frames (for switching from Spanish to English and vica versa). I need a function to realize what page the main frame is on and change that frame to the cooresponding spanish version of the current page. If anyone can help me out, it would be greatly apretiated...Thanks :)

    definitely Javascript... the server-side can't dictate what frames things go in anyway.

  • Can I send 2 separate emails from one Submit Button?

    Have a referral form that an employee completes referring a candidate for a specific position. 
    Fields are:  EmployeeName, EmployeeEmail, Candidate, Position, ReqNo.
    I created a submit button (used regular button and changed it to a submit and entered an email address). The form is sent to this email address in a PDF format.  This works great.
    Now at the same time I would like send a message to the employee acknowledging that we have received their referral -utilizing their email address from the form. 
    Is there anyway that I can combine both of these actions on the Submit button I already have created?

    To do so i guess you could use this to send an email in ur regular button (not a submit button) in the click event
    var oDoc = event.target;
                                       oDoc.mailDoc({
                                             bUI: false,
                                             cTo: "Email here!",
                                                                               cCC: "",
                                                                               cSubject: "Insert Subject Here!",
                                                                               cMsg: "Before submiting the email, include attachments 1, 2 and 3:\n"
    and then you can resend an email again with the code above repeated

  • How to handle more than one submit buttons on servlets

    Hi:
    anyone know how to handle the multiplet submit button on servlet,
    such as next, previous, add and so on.
    Thank you

    Don't worry about because only the button that is clicked will get submitted. In the servlet you just test for the existance of a parameter:
    if (request.getParamter("SubmitButton1") != null) { ..... }
    if (request.getParamter("SubmitButton2") != null) { ..... }
    Save the following HTML code, open in IE and click on the buttons to see what will get sent to the servlet:
    <html><head></head><body>
    <form method="GET">
       <input type=text name=text1>
       <input type=submit name="Submit1" value="Me">
       <input type=submit name="Submit2" value="you">
    </form>
    </body></html>

Maybe you are looking for

  • Ijust buyed FCPX and I'm getting an error when it opens

    I just buyed FCPX and I'm getting an error when it opens I removed it and reinstalled several tines PLease help Process:         Final Cut Pro [535] Path:            /Applications/Final Cut Pro.app/Contents/MacOS/Final Cut Pro Identifier:      com.ap

  • Create column from exsisting

    Hi Gurus, how to create column from exsisting column i.e table1-col1 and col2 wants to create from col1(copy thanks

  • Where is my EXPORT dump file ? How to do BRTools off line table reorgan ?

    Hello, Here was my BRTools Export output message : About to export specified tables via Direct Path ... Current user changed to SAPPRD . . exporting table                          CDHDR   60357362 rows exported Export terminated successfully without

  • Exporting BOM out of a company

    Forum, I am wondering how best can I export BOMs out of a company. I would like to get these into excel so i can import them into another company via DTW. Any help would be appreciated. Regards, Juan

  • Importing VOB files into PP CS3

    I have looked at numerous forum notes on this problem with PP and I've about come to the conclusion that the easiest thing might be to just buy a copy of Premiere Elements. I understand Premiere Elements will import VOBs and convert them to AVI. Some