HighDots Forums  

Image Field - for alternate submit button..

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Image Field - for alternate submit button.. in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
primostudent
 
Posts: n/a

Default Image Field - for alternate submit button.. - 11-04-2004 , 06:08 PM






Nothing else needs to be configured for this to process the form??

So this code is sufficient?

<input name="imageField" type="image" src="images/submitbutton.gif"
width="100" height="20" border="0">

Of course making sure it is within the form..

Reply With Quote
  #2  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Image Field - for alternate submit button.. - 11-04-2004 , 06:15 PM






.oO(primostudent)

Quote:
Nothing else needs to be configured for this to process the form??
Depends on how you define "process" ...

Quote:
So this code is sufficient?

input name="imageField" type="image" src="images/submitbutton.gif"
width="100" height="20" border="0"
At least it will work like a submit button and send the data to the
server. But remove the width-, height- and border-attributes, they don't
make sense there (and are invalid code).

Micha


Reply With Quote
  #3  
Old   
primostudent
 
Posts: n/a

Default Re: Image Field - for alternate submit button.. - 11-04-2004 , 07:53 PM



Yes, 'send the data to the server'..

Dreamweaver inserted the width, height and border.. Guess that's the
size of the image..

Thank you

Michael Fesser wrote:

Quote:
.oO(primostudent)


Nothing else needs to be configured for this to process the form??


Depends on how you define "process" ...


So this code is sufficient?

input name="imageField" type="image" src="images/submitbutton.gif"
width="100" height="20" border="0"


At least it will work like a submit button and send the data to the
server. But remove the width-, height- and border-attributes, they don't
make sense there (and are invalid code).

Micha

Reply With Quote
  #4  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Image Field - for alternate submit button.. - 11-05-2004 , 01:49 AM



.oO(primostudent)

Quote:
Yes, 'send the data to the server'..

Dreamweaver inserted the width, height and border.. Guess that's the
size of the image..
width-, height- and border-attributes are valid for img-elements, not
for buttons, even if they are of type "image".

Micha


Reply With Quote
  #5  
Old   
primostudent
 
Posts: n/a

Default Re: Image Field - for alternate submit button.. - 11-05-2004 , 04:48 AM



Thanks I'll remove the excess..

Does MM read these? They could really benefit from this and other
similar posts..

Michael Fesser wrote:
Quote:
.oO(primostudent)


Yes, 'send the data to the server'..

Dreamweaver inserted the width, height and border.. Guess that's the
size of the image..


width-, height- and border-attributes are valid for img-elements, not
for buttons, even if they are of type "image".

Micha

Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Image Field - for alternate submit button.. - 11-05-2004 , 08:59 AM



If you have something to communicate to MM, then you should do so directly -

http://www.macromedia.com/go/wish/

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"primostudent" <world (AT) grid (DOT) com> wrote

Quote:
Thanks I'll remove the excess..

Does MM read these? They could really benefit from this and other similar
posts..

Michael Fesser wrote:
.oO(primostudent)


Yes, 'send the data to the server'..

Dreamweaver inserted the width, height and border.. Guess that's the
size of the image..


width-, height- and border-attributes are valid for img-elements, not
for buttons, even if they are of type "image".

Micha



Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.