2 submits buttons on the same form

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • pipesportugal
    Second Lieutenant

    • Jul 2007
    • 130

    2 submits buttons on the same form

    Good morning all,

    Two Very simple questions,

    Can I have 2 submit buttons on a form and how do I retrieve which button has been pressed on the other side ?

    Thanks in advance for all the help,
    pipesportugal
  • Marincky
    General

    • Apr 2006
    • 4539

    #2
    Re: 2 submits buttons on the same form

    I doubt it... why???
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

    Comment

    • pipesportugal
      Second Lieutenant

      • Jul 2007
      • 130

      #3
      Re: 2 submits buttons on the same form

      Hello,

      The reason is that I would like to have the same "action" program to perform more than one job.

      I have created a 2 radio option and 1 submit button only to solve my problem.

      Thank You for answering,

      pipesportugal

      Comment

      • Marincky
        General

        • Apr 2006
        • 4539

        #4
        Re: 2 submits buttons on the same form

        Maybe George (Naval) might have a way you can do this, he is our form guru, I am sure he will see your post soon and respond if it's possible.
        Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

        Comment

        • navaldesign
          General & Forum Moderator

          • Oct 2005
          • 12080

          #5
          Re: 2 submits buttons on the same form

          Yes, you can. Name them something else than "submit", i.e. Button1 and Button2, and give them values like "submit1" and "submit2" . You will recieve something like "Button1 : submit1" or "Button2: submit2" depending on which one you will click on
          Navaldesign
          Logger Lite: Low Cost, Customizable, multifeatured Login script
          Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
          DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
          Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

          Comment

          • pipesportugal
            Second Lieutenant

            • Jul 2007
            • 130

            #6
            Re: 2 submits buttons on the same form

            ok naval,

            done, and very easy too. thanks,

            pipesportugal

            Comment

            Working...
            X