Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Set default submit button
Old 05-31-2007, 08:30 AM Set default submit button
WebcyteDesign's Avatar
Registered User

Posts: 159
Location: Hamilton
Trades: 0
If you have multiple submit buttons on a form, how do you set which one the default is?
WebcyteDesign is offline
Reply With Quote
View Public Profile Visit WebcyteDesign's homepage!
 
 
Register now for full access!
Old 05-31-2007, 08:38 AM Re: Set default submit button
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
What's the matter ?

A form can only submit to 1 place, so any button will submit the same datas to the same place.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 05-31-2007, 10:03 AM Re: Set default submit button
Junior Talker

Posts: 4
Name: Cristina Lemeni
Location: Romania
Trades: 0
You may have more, I used forms for my site portofolio navigation, and they had Prev, Next and so on.
As far as I know, you can't have a default submit button. If the user hits enter, after introducing data, the first button (set as default by the browser, as being the first found) is used. but you may use text links instead of buttons, for the rest of them.
__________________

Please login or register to view this content. Registration is FREE
cris_lemeni is offline
Reply With Quote
View Public Profile Visit cris_lemeni's homepage!
 
Old 05-31-2007, 10:19 AM Re: Set default submit button
WebcyteDesign's Avatar
Registered User

Posts: 159
Location: Hamilton
Trades: 0
Here is the senario and I need it this way and no other.

I have one form tag with multiple buttons, I need to select which button to put as the default submit button. I can not have multiple form tags (trust me). Must work in both IE and Firefox.
WebcyteDesign is offline
Reply With Quote
View Public Profile Visit WebcyteDesign's homepage!
 
Old 05-31-2007, 12:20 PM Re: Set default submit button
shivaji's Avatar
Ultra Talker

Posts: 321
Trades: 0
You can have multiple buttons in one form, but you cannot have default button because each button do some stuff (I hope). In that case you can have one main button, but this button is not different from others. For example if first button redirect on your home page, second on your contact form and third to your payment form, then last one can be main and important for you but it is not default.

Shivaji
__________________

Please login or register to view this content. Registration is FREE
- uncommon free scripts

Please login or register to view this content. Registration is FREE
- Städte, Sport, Party, Gourment, Apartments, Hotels
shivaji is offline
Reply With Quote
View Public Profile Visit shivaji's homepage!
 
Reply     « Reply to Set default submit button
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20937 seconds with 12 queries