Form two submit buttons

Hi all

I have a form and I want to use the different buttons to submit. 'APPLY' and 'SAVE '. The only difference being that the SAVA which takes back you to the same page and APPLY sends you to another page. Now I want to use AJAX, but as there is an attachment file on the form and means of previous experience what AJAX will not work.

Any help would be great.

At soon Daniel

I have included only the code I changed work from the code you provided. I would have preferred rendered HTML, but it should help you get and help you on the right track.

I have used jquery, be sure that it is included in the header. If you need support IE8 or IE9 use v1.9.1, if you care or not worried any version that should work.

Bit of background, I present in parallel positions (so no waiting) and then launch a function to run when one of them come back, so he won't be the one who finishes first question. You can set the action in the javascript or the line of action in the form itself. The second URL action lies in the function itself, but it could be anywhere.

This code is not tested, but you should get on your way, please let me know if you have any questions, happy to help you.

Tags: Business Catalyst

Similar Questions

  • Form the "submit" button similar to the first Page

    I'm trying to understand how the Send button.

    I'm moving on from my days of Frontpage.  There, I created a form with a button send at the bottom. I could right click on the button submit, where I've isolated a .txt file to a folder on the server called "_private".  The Send button would only add the info from the completed form at the bottom of the text file, which, being in the _private folder, could not access by password.

    All tutorials Dreamweaver I can find show how to make the shape (which seems simple enough), but none explain how to set up the submit button (which I do not want sent by e-mail) or where the info is presented or stored or accessible.

    Any help would be greatly appreciated!

    Kevin Gerow

    How forms work in a few words:

    (1) html forms collect data.

    (2) sometimes the client script (JavaScript/jQuery) are used to validate the form fields & make sure that all required fields are filled correctly.   It is not 100% reliable, however, that spammers robots do not use JavaScript.

    (3) PHP or another script server-side more guarantees the required fields are filled in (in the case of that JavaScript is disabled) and data are sanitized to prevent the pirates & spam bots to exploit your forms.  Then, data are processed by your server and sent to a destination specified in the script - that is to say, your e-mail address or folder / database on your server.   Finally, the user receives a success message telling them that the form was sent.

    For the end user, this seems very simple - as well it should.  But there are a lot of things behind the scenes.  If your server supports PHP & the function mail (), I wrote a tutorial part 3 contact form below.

    ALT-Web Design & Publishing: sensitive Contact form with 3.2 Bootstrap and PHP (part 1)

    Nancy O.

  • A single form: two supports

    I want to give the user a choice of two displaying the information in the form and goes to another page or display of information, and going to a completely different page. Therfore two submit button on the form. The information required on the form are minimal, because most of the data has been compiled and is in hidden form fields.

    Any ideas?

    TIA Andrew Gilbert

    On July 18, 2006 to macromedia.dreamweaver, tollesbury wrote:

    > I want to give the user a choice of two displaying information
    > under the form and goes to another page or display information and
    > go to a completely different page. Therfore two button to submit the
    > the same shape. The information required on the form are minimal
    > as most of the data has been compiled and is hidden
    > the form fields.

    This, as far as I know, is impossible. You could do, is just
    above the submit button, a set of drop-down list or radio button call him.
    say, 'Destination' and offer to your choice.



    Go to another Page


    Go to a completely different Page



    --
    Joe Makowiec
    http://Makowiec.NET/
    E-mail: http://makowiec.net/email.php

  • A form with several submit button

    Hello

    I have a very long form. What I would therefore like to add an additional submit button so that the user can only change the image if they want to.

    -is it possible to have more than one form on the page. If Yes, how can I determine which form is submitted isDefined ('form1'), isDefined ('form2') doesn't seem to work,

    -If there are two buttons in the form did you know which preses because both seem returns true when tested with isDefined)

    Thank you

    -is it possible to have more than one form on the page. If Yes, how do

    I determine what form is submitted isDefined ('form1').

    isDefined ('form2') doesn't seem to work,

    /quote

    Yes.

    If ' there are two buttons to the form how do I know who has been

    Preses as both seem to return true when tested with isDefined)

    /quote

    Give the buttons different name attributes. Check your action page

    with StructKeyExists (form, "name_of_first_button") and

    StructKeyExists (form, "name_of_second_button"), which one was pressed.

    Mack

  • How to use several adf 12 shape and insert the form data in to table during the click on "submit" button

    How to use several adf 12 shape and insert the form data in to table during the click on "submit" button. Can we use several form from adf or not?

    Make sure that you dragged the VO based EO.

    Also make sure that the VO attributes based EO Updatable property.

    The query according to VO is used only to add LOV to the column of the original VO ModelId.

    See you soon

    AJ

  • I made a form for my clients, I did this form with a button "submit" button, the button will save the form and send it, I did the URL to go to a different (different to mine) e-mail address but when I distribute the form and it is complete

    I made a form for my clients, I did this form with a button "submit" button, the button Save the form and send it, I did the URL to go to a different (different to mine) e-mail address but when I distribute the form and it is supplemented by my clients it send to my email address not the URL how to change this.

    No matter how you have configured the Send button when you use the feature distribute the form. There are some e-mail address is in your identity preferences (Edit > preferences > identity) and use it. If you can change the email address it or not to use distribute the form and the button send the value you want.

    One thing that happens when you use the feature to distribute the form is the form is enabled Reader, you can do separately, but you really shouldn't do if the form must be used by others. The dispenser a form must activate using their copy under license of Acrobat Reader.

  • my form submit button has a gray background?

    The form on a site I'm working on has a background of grey box behind the submit button.

    It is not visible in Muse, but appears when I saw in the browser? Why is this?

    See here.

    To do this in Safari and Chrome.

    He did not notice before, it it a glitch in sensitive new version?

    Thank you to send your file.

    Unfortunately, you hit a bug in Muse. A page with several breakpoints and a submit button rounded shows a grey area in the browser.

    We will work on getting a solution in a Muse corrections update soon.

    In the meantime, the workarounds only I can suggest are either:

    (1) only have a single breakpoint on pages with forms

    or

    (2) hide your form in at least 1 breakpoint. This will force Muse to generate the correct CSS for the button on the form.

    Sorry for the inconvenience. I hope that we will soon have a fix available.

  • 2 or more forms with "1 submit" button (Business Catalyst Forms)

    I am very new to Ajax and Java

    So I'll need a bit of hand holding on it.

    If it's too much to explain in a post on the forum, I'd be willing to pay someone to set up properly and to explain so that I can repeat on my own $50.

    But here's what I'm trying to do.

    Presentation of multiple forms with single submit button.

    I need to create many many forms, so rather than repeat the basics (details and company info)

    I would just be able to manufacture PARTS of form and then build forms much faster this way.

    The forms I created are for various applications.

    I use the personal and professional contacts as the first 2 examples, but I'm going ELSEWHERE, I also understand according to the form.

    So just keep in mind these are examples.

    The point is that each PARTY is a separate form.

    The reason clear to achieve is to save time, many similar applications that I need to do the construction.

    Example 1

    Form of home insurance

    SECTION A - personal information

    PART H - home (s) address

    PART F - personal fire and alarm information

    PART C - the previous insurance issues and cancellation insurance

    ----------------

    submit button: supports all 4 forms above

    Example 2

    The company insurance form

    SECTION A - personal information

    PART B – business contact information

    PART D - commercial address information (what to do if several addresses?)

    PART E - business and information fire alarm

    PART C - the previous insurance issues and cancellation insurance

    --------------------

    submit button: submit all 5 forms above

    So ideally, I would need the following requirements.

    1. present the single button

    2. present the code can handle 2 or more parts not the value # specific

    3. I would prefer if it was automated code (so I don't have to change the code every time, I can simply add the parts - and also long ID # or named it will work correctly)

    4. If there is a problem with any PART stop the entire form

    5-

    A question, I had barely know is how "combine" forms a single entity so that they can change it later if necessary?

    * as turn a case, or to award to each PARTY a hidden form variable link #.

    * This is probably best handled with a webapp, Yes?

    Thanks in advance for any help.

    It's all a bit above my level of understanding of right at this moment. So, if anyone can offer help or services.

    Please let me know. I have to get rolling on this ASAP.

    * main problems I have with BC forms:

    I did a lot of work with them recently, so I get a kick of the foibles, but there is always a ton of issues and roadblocks that I meet that requires a workaround solution.

    I wish I knew how to make dynamic British Colombia forms, because the BC is not a data source for multiple selection option, we must create a webapp connection to combine everything.

    Unless there is another way to combine multiple forms, I guess that's what about this discussion/issue together.

    So thank you once again.

    Are you ok with BC being unable to report on the data of the form? Rather than having the fields map to a client-server, you could serialize the form data (in JSON format, perhaps) and submit the entire form in a single field in a form BC, or an element of the Webapp.

    This would allow the form fields to be as dynamic as you can imagine. you will be not restricted to use only the form fields that have been declared in the admin.

    You have to take care around the diagram, because BC does not have an influence or support for that. It also means that when you want to display the data, you will need to go through your own deserializer. In addition, there are length limits to keep in mind.

  • Add a message next to the SUBMIT button in a form

    How can I add a message next to the SUBMIT button of the form I did using the widget?

    My message must be connected to the State that displays the fields in red that were not filled in.

    Who can be a Muse at the moment.

  • I have problems with the form widget. When I created my forms, I need to leave out the line, one email because my client does not want the message line and two because those who have tried to fill the online form cannot submit because that box "email".

    I have problems with the form widget. When I created my forms, I need to leave out the line, one email because my client does not want the message line and two because those who have tried to fill the online form cannot submit because the 'email' box keep rejecting their email address valid. And I just tried to remove the line in my form and it does not allow me to delete or to mark it as not necessary either.

    Currently, there is no way around the field email forms of the Muse. Another option is to have a look at Jotforms or another third-party provider of shape that Muse has widgets for.

  • Muse Submit button (contact form) are not sent bus catalyst

    I worked through the tutorial intro to Muse (where you set up the site of the Katie bakery) and published, Muse, as a temporary site to Business Catalyst. But in this area, the Send button does not work.

    Background:

    The page of the form (contact us) tutorial includes a form with a "submit" button. The tutorial shows how the Send button is configured with several States to indicate that the shape is click after: presenting, submit successfully or submit does not succeed. The tutorial also shows how to enter an email address to send to. In addition, the tutorial explicitly pointed out that you can publish the site to Business Catalyst to test the submit button and make sure that it sends to the correct email address before make you the site live.

    I have configured the Send button to send to my e-mail (a real one). I also published the Business Catalyst site just as shown in the tutorial.

    However, when I click the button Submit (excerpt from businesscatalyst.com site), it does nothing. It does not change its State (other than to change color when you go over it) to show that he does anything once you click on it. And I don't get any email from the form.

    I have reviewed the information in Troubleshooting Muse form Widgets used on the servers of third parties, but none of these tips have helped. And besides, businesscatalyst.com isn't a 3 rd party server. It goes without saying that the Send button should work from Adobe's own site.

    Why the submit button won't work, even after following the steps in the tutorial explicitly step by step? If I can't work on the temporary business catalyst of the site, how am I supposed to feel confident that it will work if I try to live somewhere else?

    Update: I just tested it again, by adding a new form Widget to another page of the tutorial site. I just copied the default form (name, Email, Message fields) and placed value on the Menu. Then I republished on the site and re-tested the submit button. And now, the new Send button in the page Menu works and also the submit button on the Contact page (from this tutorial).

    I don't know if the assets of the tutorial were corrupt so that the original send button wouldn't work, or is it add a second button send the first button to "wake" another page Submit or if Adobe changed something on their servers during the night to allow to the Submit-button. I know, it's that one change, he works now as I expected to work.

    (For the record, yesterday I deleted and republished the site several times, just to make sure that this was not something that occurred at the time of publication. So who is excluded as a cause).

  • Present form PDF URL data without submit button

    Our customers use LiveCycle Designer to design PDF Forms. We have an ASP.Net Web form application, where they want us to embed the PDF form part of our data-entry form. The registration form has a button 'save'. And we want to save the entry of all entries in form (including the PDF form) in the click on the button Save.

    The client PC will adobe reader is installed, so I guess we can integrate the PDF form easily. I know form PDF can have the "submit" button and can send data (XML) to a URL. But the client does not want to place a button to send separate in the PDF file as the registration form has a Save"" button.

    Do you have any suggestions? If I post in the wrong place or a question already answered, I sincerely apologize and please guide me.

    You may be able to use the FormBridge to communicate between the PDF and HTML form. I've not used it before, so I can't provide details.

  • PHP if then the syntax, a conditional link in the form submit button

    I have a site with a code that checks the value of a field in a database table and controls what page a user goes to when they hit the submit button in a form.

    It is part of a shopping cart, where a few extra options are available along the way.

    I have added a new option for a different size of cushions, but cannot get the syntax right or wrong somewhere.

    I have this code in my head:

    $row = mysql_fetch_assoc ($result);

    If (! @empty($_POST)) {}

    $_SESSION ['cart'] ['items'] [$_POST ['id']] ['paint'] = $_POST ['color'];

    If (@empty ($row ["cushions"])) {}

    $url = ' accessories.php? id = '. $_REQUEST ['id'] ;}

    ElseIf (@empty ($row ["cushions2"])) {}

    $url = ' accessories2.php? id = '. $_REQUEST ['id'];

    } else if (! @empty ($row ["glasstop"])) {}

    $url = ' glasstop.php? id = '. $_REQUEST ['id'];

    } else {}

    $url = "shopping_cart.php;

    }

    And this code in my form button:

    < a href = "<?" PHP echo (! @empty ($row ["cushions"]))? "shopping_cart.php": ' accessories.php? id = '. $_REQUEST ['id']? ">" style = "float: left;" color: #251717; background-color: #DBC87B "> NO THANKS, go AHEAD WITH the ORDER < /a >"

    How can change that it will go to the page accessories.php or the accessories2.php?

    Just to say that I'm this work. In the end, I thought I could use three links .every wrapped in a piece of conditional code like this:

    NO THANKS, PROCEED WITH THE ORDER

    "style =" float: left; color: #251717; background-color: #DBC87B "> NO THANKS, go ahead WITH the ORDER"

    "style =" float: left; color: #251717; background-color: #DBC87B "> NO THANKS, go ahead WITH the ORDER"

    It's not as elegant as a single link, but it seems to work.

  • Send an active PDF form with a Submit button? (Acrobat Pro XI.)

    I created a very large active form of PDF with hundreds of fields with text boxes, drop downs, checkboxes, radio buttons, and I think that the kitchen sink. But for the life of me I can't understand how to create a Submit button that will send the completed form to an email address that is configured to print whatever it hits.


    I have read so many things about it that I'm completely confused. I need a script, is there a method through menus to Acrobat, Miss me or I'm barking at the Moon? You'll know more I could even say any help just get me going in the right direction. Thank you!

    Simply add a button and it is the mouse up action to "Submit a form" and use a type mailto URL and specify the complete PDF file is sent. If she needs to work with version 11 player, she should also be enabled for the drive: file > save as other > Reader Extended PDF > activate tools more

    Note that emailing is unreliable by report to be submitted to a web server, and it is difficult to secure, which is relatively easy with a web server.

  • working with 2 submit buttons in an html form

    I have 2 submit buttons on a form. I'll upload a file and save in a filepath in server when I click a Download"" button. I want to use this path in the code, when I click on another button called 'process '.  When I click on the process nothing happens with dump to the code below. Form sends to itself. Is there a better way to do it. Thanks in advance.

    < table width = "40%" border = "0" style = "" border: 1px solid black; ">"

    < name of the form = "uploadform" action = "processfile.cfm" enctype = "multipart/form-data" method = "post" > "

    < b >

    < td > < input type = "file" name = "FileContents" size = "25" >

    < input type = "button" name = 'action' id = 'action' = 'Upload' value >

    < table >

    < /tr >

    < b >

    < td align = "middle" >

    < input type = "button" name = "submitaction" id = 'process' value = 'Process' >

    < table >

    < /tr >

    < / make >

    < /table >

    < cfset variables.filepath = "" >

    < cfif isdefined ("form.action") AND form.action eq 'upload' >

    < cffile action = "upload" fileField = destination "FileContents" = "C:\test\" accept = "text/plain" nameConflict = "overwrite" >

    < cfset variables.filepath = "C:\test\#cffile.serverFile#" >

    < cfelseif isdefined ("form.submitaction") AND form.submitaction eq 'process' >

    < cfdump var = "#variables.filepath #" >

    < / cfif >

    The elseif excludes discharge. In any case, it is unnecessary. You should not test for form.submitaction and form.action, as they both exist or not.

    You could just do something like

    variables. FilePath: #variables.filepath #

Maybe you are looking for

  • Change the repetition of calendar events

    I've implemented a repetitive event in a CalDAV calendar on my Mac running the latest version of Mac OS X. The event is 'Every day' to a certain date of starting on a certain date to end. Now, I want to make sure it's a repetitive event but only Mond

  • HP 6500 Office Jet has more: copy on a Hp all-in-one

    I was copying annual reports to plate (double-sided) yesterday and finished a 75 page run... no problems. Today, it won't print anything from my laptop or copy anything from the tray. Pages come out blank. Analysis of white light through the paper, b

  • Replacing an old hard drive causes the system had become unbootable

    OK, here's the scenario. Background:My old computer with Windows XP has been installed on a hard disk of 40 GB. Later through subsequent updates, I bought the upgrade Windows Vista Professional (retail) and proceeded to install Vista on a brand new 2

  • Photosmart A616

    I have a Photosmart A616 and right up to this afternoon, it printed perfectly and about 14 photos in print one pile the little green light on the front started to come on the printer should restart and give me a stop 052A2DA6 printing code and Gush a

  • CUCM upgrade 9.1.2.10000 - 28 9.1.2.11900 - 12 Unrestricted access

    Hello I'm trying to upgrade CUCM 9.1.2.10000 - 28 cluster cluster 9.1.2.11900 - 12. I managed with 2 servers (Editor & subscribers). Let me tell you the total number of nodes in my cluster. It is a 4-node cluster, where I intend to use as a TFTP serv