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

Similar Messages

  • 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

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

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

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

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

  • 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" />

  • In a jsp page one name button that corresponding 5 TextField how to insert

    hi,
    In a jsp page one name button that corresponding 5 TextField how to insert values inthe database that 5 textfield values

    Hi use
    String s=request.getParameter("Text Filed Name");
    do this for all the Text Field..... Then use preparedSatatment for inserting that data inside the database.

  • I am distributing a fillable form out to my employees by email. But when they finish the form and hit the submit button it does nothing.

    I am distributing a fillable form out to my employees by email. But when they finish the form and hit the submit button it does nothing.

    Please do not create duplicate posts.

  • 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

  • One single page, two SUBMIT buttons.

    At first I had only one region on this page, and there is a submit button for this region (or page?). There is already a PROCESS corresponding to this submit button. Later I added another region, and I also want to add a submit button for this new region. But how can I add a new process for the new region? Based on my understanding, one single page can only have one SUBMIT PROCESS, right?

    I mean, I cannot invoke the procedure here directly, right?
    For example, I have a stored procedure in DB, which starts with:
    1 CREATE or REPLACE PROCEDURE procedure1
    2 (arg1 IN VARCHAR2)
    3 IS
    4 declaration1;
    5 BEGIN
    6 stmt1;
    7 END;When I want to use it here in the page process, I have to remove the first 3 lines, am I right?

  • Can not keep drawable signature option in reader on a form with a mailto: submit button added.

    I hope someone has run into this.  I have acrobat 11.0.10 to create fill-able forms and reader 11.0.10 to view and fill them.  Do to the nature of the forms a drawn signature is required and is available right up until I add a submit button with a mailto: action.  Then all that is available in the reader is the digital certificate.  I should add that I save the form without reader extensions.  Is there a way to add the auto-adressed mailto function for the person filling the form and still keep the drawable signature option for signing?

    - is it possible to have more than one form on the page. If so how do
    I determine which form is submitted isDefined('form1'),
    isDefined('form2') does not seem to work,
    /quote
    Yes.
    - if there are two buttons in the form how can I tell which one was
    preses as both seem to return true when tested with isDefined()
    /quote
    Give the buttons different name attributes. On your action page check
    with StructKeyExists(Form, "name_of_first_button") and
    StructKeyExists(Form, "name_of_second_button") which one was pressed.
    Mack

  • 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

Maybe you are looking for

  • ICloud mail not working in Mavericks

    I can't add an iCloud mail address - it won't check it in preferences.  What should I do?

  • Manipulating report column based on another column value?

    Here is what I am trying to do. 1.     I have a report region which has 2 columns. 2.     Both the columns are setup as links to navigate to a different page. I am using <img src="#IMAGE_PREFIX#e2.gif" alt="Edit"> for link text report item attribute.

  • Shared Photo Stream as default stream?

    We have 4 iPhones and was hoping to set up Photo Stream so each phone could see every other phones photos.  Do photos have to be shared manually or is there a setting (I am missing) that will simply push ALL photos taken to the shared photo stream? 

  • Freezing & Kernal Panics even after an erase/install!!!

    I have a Macbook Book Pro 17 inch, 2.4ghz processor intel core 2 duo, 4gb ram bought in around June 2007. Recently my computer started acting up randomly, it started to freeze up where everything didn't respond but I could still move my mouse around.

  • Renaming Project Server 2010 database server

    Hi all, We have Project Server 2010 + SQL Server 2008 R2, but we need to upgrade DB to cluster SQL Server 2012 Enterprise Edition SP1 CU7. Is it ok if we rename Project Server DB server , for example from DBSER05 to DBSRVCL07\APPDB ?