Submit Button is now an Image

Ask a Question related to ASP, Design and Development.

  1. #1

    Default 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>
    <Input id=text1 name=text1>
    <Input id=submit1 type=submit value=Submit name=submit1>
    </Form>

    I want to change the standard button by an image, but keep the advantage of
    the POST method to pass the parameters to my next page, that is page.asp

    How can I do such a thing?

    Thanks,

    Jack


    Jack Guest

  2. Similar Questions and Discussions

    1. trouble with replacing submit button with image
      I have a simple login form and one submit button. I have replaced the standard grey button with a costum made button using the appropiate Form>Image...
    2. Submit button
      I have a web form with a few text fields some validataion and a submit button. When I click the submit bittin the serverside event does not...
    3. Image for Submit Button
      hey everyone. i'n building a for in which the data from the fields is inserted into a database table. i'm using an image for my submit button, but...
    4. Can i use a self made image instead of a submit button?
      hi, i want to use a submit button i have created in fireworks. but im having some difficulty getting it to submit data in a form! Can this be...
    5. using submit button and PHP-HELP
      Hi, I have a form that has a submit button in it, when the button is pressed I want it to reload the same page, with the same URL, however when I...
  3. #2

    Default Re: Submit Button is now an Image

    I think this is what you mean.

    <FORM action=page.asp method=post>
    <Input id=text1 name=text1>
    <Input id=submit1 type=IMAGE scr="image.gif" name=submit1>
    </Form>

    Ray at work


    "Jack" <tardifj@inextenso.qc.ca> wrote in message
    news:YAXlb.33187$Ol.669215@read1.cgocable.net...
    > 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>
    > <Input id=text1 name=text1>
    > <Input id=submit1 type=submit value=Submit name=submit1>
    > </Form>
    >
    > I want to change the standard button by an image, but keep the advantage
    of
    > the POST method to pass the parameters to my next page, that is page.asp
    >
    > How can I do such a thing?
    >
    > Thanks,
    >
    > Jack
    >
    >

    Ray at Guest

  4. #3

    Default Re: Submit Button is now an Image

    "Jack" <tardifj@inextenso.qc.ca> wrote in message
    news:YAXlb.33187$Ol.669215@read1.cgocable.net...
    .. . .
    > <FORM action=page.asp method=post>
    > <Input id=text1 name=text1>
    > <Input id=submit1 type=submit value=Submit name=submit1>
    > </Form>
    >
    > I want to change the standard button by an image, but keep the
    > advantage of the POST method to pass the parameters to my next
    > page, that is page.asp
    Ray's already given you the important bit, but just something to
    watch out for ... you won't be able to use

    Request.Form( "Submit1" )

    in /processing/ your request any more. Being an image, HTTP won't
    send you the value of the button any more, but the X and Y
    coordinates where the user clicked on the image, as in

    Request.Form( "Submit1.X" )
    Request.Form( "Submit1.Y" )

    HTH,
    Phill W.


    Phill. W 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