Results 1 to 6 of 6

Thread: 2 submits buttons on the same form
      
   

  1. #1
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default 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

  2. #2
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

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

  3. #3
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default 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

  4. #4
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

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

  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


  6. #6
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default Re: 2 submits buttons on the same form

    ok naval,

    done, and very easy too. thanks,

    pipesportugal

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49