Thread: Reset button

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 1999
    Location
    Washington DC
    Posts
    6
    Rep Power
    0
    Hi all,
    How do u create a RESET button for forms
    using a custom made button(your own graphic button)?
    thanks in advance
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Location
    Mexico DF Mexico
    Posts
    16
    Rep Power
    0
    Use this code instead of the reset button or submit button, only forks inside the <form> hope it helps

    <input type=image name=search src="imagenes/buscar.gif" alt=Search border=0 align=absmiddle>

    Luis Tena
    from Mexico

    [This message has been edited by ltena (edited February 13, 2000).]
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 1999
    Location
    Netherlands
    Posts
    77
    Rep Power
    15
    Hi,

    When using an image as button, you have to use some javascript to reset the form, like:

    <input type=image src="img/img.gif" alt="Reset" border=0 onClick="reset();">

    Peter

Similar Threads

  1. Setting focus to a reset button
    By Yonder in forum HTML Programming
    Replies: 12
    Last Post: November 4th, 2004, 10:56 AM
  2. Problem with reset button
    By moniphp in forum PHP Development
    Replies: 4
    Last Post: January 21st, 2004, 09:53 AM
  3. div tags reset when "Back" is clicked
    By peterswan in forum HTML Programming
    Replies: 0
    Last Post: December 31st, 2003, 12:29 PM
  4. changing the buttons in the message box
    By crackerweb in forum Visual Basic Programming
    Replies: 6
    Last Post: October 23rd, 2003, 06:36 PM
  5. reset button next to a submit button?
    By 7stud in forum Dev Shed Lounge
    Replies: 16
    Last Post: June 10th, 2003, 10:33 AM

IMN logo majestic logo threadwatch logo seochat tools logo