Computers & Internet Logo

Related Topics:

Anonymous Posted on Oct 16, 2008

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.

2 Answers

Anonymous

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
  • Posted on Oct 17, 2008
Anonymous
Master
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.

Joined: Oct 17, 2008
Answers
507
Questions
0
Helped
247167
Points
1453

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.

  • Byron Bailey
    Byron Bailey Feb 10, 2022

    I immediately found the answer for myself. Thanks!

×

Mark Ultra

Level 2:

An expert who has achieved level 2 by getting 100 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Sergeant:

An expert that has over 500 points.

  • Expert 216 Answers
  • Posted on Nov 06, 2021
Mark Ultra
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Sergeant:

An expert that has over 500 points.

Joined: May 22, 2020
Answers
216
Questions
0
Helped
84396
Points
669

You know, I always trying to use the help of professionals. If you want to learn how to create an application like whatsapp or something like this, then use react js company. If you don't know what it is, then look on the Internet. This is such an application development framework, very convenient and free. But don't get carried away with it like me. It is best to use some kind of plugin to create your own service.

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

0helpful
1answer

Why didn't all my photos develope

Contact Customer Service

Questions? Concerns?

Just call us at (800) 877-0155 from within the United States. Our Customer Service representatives are more than ready to help.
You can also contact us by using our Customer Service Web Form. You'll find the link below. Once you submit the form, we'll usually get back to you via email within three business days.

RICOH IMAGING Customer Care

Toll Free: (800) 877-0155
Phone: (303) 799-8000


0helpful
1answer

HELP PLEASE.My girlfriend went to my Yahoo mail,saw sent messages(to someone else),sent them to trash,and emptied trash about an hour ago.is there ANYWAY(free-am unemployed)i can recall these or are they...

Good Day Mobil8694u!

If mails were deleted within 24 hours, There is still a possible way to restore it.

A Yahoo! Mail Restore Help Form should be filled up and submit it to Yahoo! Technical Support.

But first, you must log in to your Yahoo Mail. Then fill up the form below

1. If you are using a Yahoo! Mail Classic, go to
http://help.yahoo.com/l/us/yahoo/mail/classic/mail_restore_free.html
then, click the Submit button.

2. If you are using the All New Yahoo! Mail, go to
http://help.yahoo.com/l/us/yahoo/mail/yahoomail/mail_restore_free.html
then, click the Submit button.

Please be sure to check your junk or spam folder or filter if you do not see a reply in your Inbox from a Yahoo! Technical Support Agent.





Good Luck Mobil8694u!
You can comeback later and give me 4 thumbs up rating if you have recover your deleted mail.
1helpful
1answer

I HAVE NO EMAIL & FS BECAUSE I DONT KNOW HOW TO DO,CAN YOU HELP ME?

yes i will help u. plz follow these steps , i hope u will know about the internet.

open the web browser>type www.yahoo.com in address bar>u will see yahoo page>see in page New here? Sign Up > just do sign up>u will see a form >fill the form and submit the form>after submission the form u will get the yahoo id.

for any other id like gmail or etc, same steps will be there.

i hopw u will get the solution.


Nov 13, 2009 • Yahoo Mail
0helpful
1answer

Web disign - php issues

see the form which you downloaded is in html, so there is no issue of compatibility b/w php versions, and the way the file of this form are present in your system you must upload all the files in similar manner else you will face same problem continuously
0helpful
1answer

Working on project to develop online movieshop management

Hi,
you can embed 'google search' engine to your website.

The basic technique involved here is to be able to manipulate one of the variables handed to the Google search engine, a variable called sitesearch. Set it to a null value and you're searching the entire World Wide Web, but set it to a specific domain and it's constrained exactly as if you had typed in the Google special notation site:domain.
In addition to that, you need an input field and a submit button. Put them all together and here's the minimalist Google search form that lets the user alternate between just your site (well, in this case just my site) or the entire Web:

<form method="get" action="http://www.google.com/search">

<input type="text" name="q" size="31"
maxlength="255" value="" />
<input type="submit" value="Google Search" />
<input type="radio" name="sitesearch" value="" />
The Web
<input type="radio" name="sitesearch"
value="askdavetaylor.com" checked /> Ask Dave Taylor<br />

There are some additional tweaks we can apply to make it a bit more
fancy, including changing the radio buttons to a single check box, and

<form method="get" action="http://www.google.com/search">

<div style="border:1px solid black;padding:4px;width:20em;">
<table border="0" cellpadding="0">
<tr><td>
<input type="text" name="q" size="25"
maxlength="255" value="" />
<input type="submit" value="Google Search" /></td></tr>
<tr><td align="center" style="font-size:75%">
<input type="checkbox" name="sitesearch"
value="askdavetaylor.com" checked /> only search Ask Dave Taylor<br />
</td></tr></table>
</div>


</form>
aligning things a bit more nicely using a table and some simple CSS:


</form>
12helpful
5answers

I need cif single chip

I had the same problem too and tried all kinda solution I cud find on the net for ages... The solution is simple...but windows dont give the exact problem description.
Infact...in Device manager, u miss a category called "Imaging device".To get that section back and put ur cam to work download the file "sti_ci.dll" from here.
Extract it, and copy the file to "C:\Windows\System32\" folder and connect back ur cam.Yo get get windows saying device is installed and ready to use. That worked for me. If it worked for u, please post it on other forms to help people who r still trying to look for a solution.
2helpful
1answer

How i get data from html form to ms access or excel file...????

this needs to be programmed - i.e. when you submit the form it needs to be submitted to something (e.g. java servlet, php script, etc.) that will take the data and insert it into a data store (access, excel, mysql, oracle, etc.)
0helpful
1answer

Coldfusion problem

could you give me more info plz
Not finding what you are looking for?

176 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

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

Answer questions

Manuals & User Guides

Loading...