HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 28th, 2000, 02:57 PM
sharky121 sharky121 is offline
...try and try again
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Lake Forest, CA, USA
Posts: 182 sharky121 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 3 sec
Reputation Power: 9
I want to use text as a means of submitting a form rather than using the Submit button.

Is this possible?

Not so long ago I seem to remember reading through a tutorial which let you use an image as the button, and this would work too (but as usual I forgot to bookmark this page).

Does anyone have any suggestions?

Anyone?

Bueller?

Thanks.

Reply With Quote
  #2  
Old July 28th, 2000, 06:03 PM
sharky121 sharky121 is offline
...try and try again
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Lake Forest, CA, USA
Posts: 182 sharky121 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 3 sec
Reputation Power: 9
Okay, I have the images part sorted:

INPUT TYPE=IMAGE SRC="your image here" NAME="form name here" ALT="alternate text for image">

Note: apparently the image name and the form name must be the same name.
http://www.pdcdesign.com/harvillo/forms.html

So now I am wondering if I can use <input type=text....>

Reply With Quote
  #3  
Old July 28th, 2000, 08:33 PM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
you can use anything as a 'submit' button even a text link ie:

<script>
function sendit(){document.formname.submit()}
</script>

<a href="#" onclick="sendit()">text link or image here</a>



------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
  #4  
Old July 29th, 2000, 11:59 AM
sharky121 sharky121 is offline
...try and try again
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Lake Forest, CA, USA
Posts: 182 sharky121 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 3 sec
Reputation Power: 9
Thanks Simon.

This will help me a lot.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Simple forms question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway