Question about Websites

1 Answer

Web development in php5 and html.how can i add two submit buttons in a single form.plz help me out.

How can i add two submit buttons in a single form.plz help me out.

Posted by on

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

  • Master
  • 507 Answers

Put some javascript

<script language="javascript">
function whichButton(buttonNumber) {
document.forms['myForm']['myButton'].value = buttonNumber;
}
</script>

<input type="submit" onClick="whichButton('1');>
<input type="submit" onClick="whichButton('2');>

or

You could do one of two things.

1) Name the buttons differently. You could then check for the presence of
either name, rather than one name and two different values[1].
2) Use the BUTTON element, and place an IMG element inside it. This will
keep the standard functionality, but it is rendered horribly by Internet
Explorer. By contrast, it looks quite nice in Opera, and the button can be
styled so that you can't even see it (IE ignores the same styling). I
don't know how it will look in Mozilla and Netscape, but probably a lot
better than IE.

Posted on Oct 17, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

2 Answers

Lost password for betterrecipes.com. Tried to submit to them new password. Form not working.


June Media Inc
Customer Service
209 W. Jackson Blvd. Suite 702
Chicago, IL. 60606-6907
(312) 724-9444

Read more: http://www.betterrecipes.com/privacy-policy#ixzz3bwEZVxlA

Jun 02, 2015 | betterrecipes.com

1 Answer

How can i correct my post? I see I spelled a word wrong, thanks


Dear dolaberg,
It is currently not possible to edit posts once they have been submitted.
I recommend posting any new or additional information to your question in the form of a comment:

1. Sign in to your Fixya account
2. Click your name on the top right and select "My Account"
3. Click on "My Questions" tab and locate the relevant question
4. Select "Add Comment," enter your text and hit the green "Add Comment" button to submit

*The response time for a solution can vary according to how common your problem is and how many Experts are available at the time.
Hope this helps!

Feb 04, 2015 | FixYa Websites

3 Answers

Give me the form to sign up to facebook


Point your web browser at Welcome to Facebook Log In Sign Up or Learn More

If another account comes up, log out of it by clicking the down-pointing triangle in the upper-right then clicking "Log Out."


Now you should see a green "Sign Up" button.

Jan 14, 2015 | Facebook Websites

2 Answers

How do I sign up


Go to website and click on signup and fill the form then click on submit .

Jan 10, 2015 | Websites

4 Answers

How do i join facebook


Open website www.facebook.com and fill your information in the form then click on submit button .

Dec 15, 2014 | Facebook Websites

1 Answer

Why cant i repost on my Questions?


Hi Kristin,
You can post your question only once. We do not want multiple questions on the site.
If there are details you wish to add to your question, you can add them in a form of a comment:
1. Sign in to your Fixya account
2. Click your name on the top right and select "My Account"
3. Click on "My Questions" tab and locate the relevant question
4. Select "Add Comment," enter your text and hit the green "Add Comment" button to submit
You can always contact the support team directly at: http://www.fixya.com/contact

Sep 09, 2014 | FixYa Websites

1 Answer

What will be the html code for save button used in web page?


Dear friend, for this subject you should use CGI scripts, you can't save them only by simple HTML codes, so I provide some useful links to learn how to save entered characters in feedback forms by these CGI scripts and HTML, I hope they could help you, just read these articles carefully.
http://www.yourhtmlsource.com/cgi/processingforms.html

http://www.rebol.com/docs/cgi2.html

http://www.help4web.net/webmaster/html_tutorial/chapter15.html

http://webdesign.about.com/od/forms/a/aabg073099a.htm

You can also make feedbacks form simply by FRONTPAGE, you just need to this software, select a feedback form template, customize it and setting up the form option about how to save, and where to save, but remember that if you use frontpage for this job, your domain should support frontpage extension too.
Good luck

Mar 20, 2009 | Websites

1 Answer

Web Form development problem


Try this: <form method="post"
instead of this: <form method=post
leave everything else the same.

Mar 13, 2009 | Websites

Not finding what you are looking for?
Websites Logo

Related Topics:

122 people viewed this question

Ask a Question

Usually answered in minutes!

Top Websites Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18297 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Michael Terence...
Michael Terence...

Level 2 Expert

102 Answers

Are you a Website Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...