Using an image to submit a form

Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default Using an image to submit a form

    Hi,
    Simple question I know, but I am having problems getting an image to submit
    a form,

    Ive tried using "javascript:document.form1.submit()" (without quotes) in the
    link field but this does not work, it says objetc not supported when I try
    and test it!!

    Any ideas?

    Cheers in advance

    Tom


    Elliott Guest

  2. Similar Questions and Discussions

    1. Using an image as my submit buttom
      I created a search form in DW 8 and when I use a submit button to display results it works fine. However, when I try and insert an image as my...
    2. PHP gives error when using image for submit form!
      Hello, I want use instead of the standard submit-button a image! This don't work, he gives a error on file php4ts.dll, then he is closing the...
    3. Submit Button is now an Image
      Hi, I have a form with input fields and a submit button as following :(don't focus on mistypings if any) <FORM action=page.asp method=post>...
    4. Form Field/ Form Submit Problems (probably an easy answer...)
      Hey Everyone.. I have a form that has approximately 7 text fields and 1 checkbox. Generally when this form is submitted(to itself BTW) it works...
    5. #25366 [NEW]: form buttons of type "image" dont send "submit" $_POST variable in IE
      From: jordanolsommer at imap dot cc Operating system: Windows XP PHP version: 4.3.2 PHP Bug Type: Variables related Bug...
  3. #2

    Default Re: Using an image to submit a form

    Elliott wrote:
    > Hi,
    > Simple question I know, but I am having problems getting an image to submit
    > a form,
    >
    > Ive tried using "javascript:document.form1.submit()" (without quotes) in the
    > link field but this does not work, it says objetc not supported when I try
    > and test it!!
    No need fo javascript:

    <input name="Submit" type="image" src="images/my_button.gif" width="40"
    height="12" border="0">

    However, if you look at thread that started a few hours ago with subject
    "css buttons different sizes in different browsers", you'll see more...

    --
    Dan Vendel - *GOF*
    [url]http://www.vendel.info[/url]
    Contact me directly by clicking here:
    [url]http://contact.vendel.info[/url]
    Formmail tutorial:
    [url]http://www.vendel.info/tut/formmail.html[/url]
    Nested table demonstration:
    [url]http://www.vendel.info/tabletut/[/url]

    Dan Vendel *GOF* Guest

  4. #3

    Thumbs up Re: Using an image to submit a form

    This was so very helpful!
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139