CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Reset button for search form

Print topic Send  topic

Author Message
dava133
Posted: 02/27/2002, 9:38 AM

Hi, ive read the tip about resetting the search form by elena and was wondering whether I could have this as a button next to the Search button instead of being a link in the actual table?? WOrks great though, cheers

David
cornwell
Posted: 02/27/2002, 1:16 PM

If using HTML templates:

In the HTML template, in the Search form, add the line

<td><input type="button" value="Clear Search" onclick="location.href='XXXXXXXGrid.asp'"></td>

Change the 'colspan' value of the existing cell holding the CC Search button.
Change the location.href value in the inserted line to the name of the page containing the search form.
dava133
Posted: 02/27/2002, 2:31 PM

Cheers m8, found a simpler way, just used dreamweaver to add another button - input type="reset", worked a treat but thanks for the reply

David
Nicole
Posted: 02/28/2002, 7:28 AM

Hello,
I've found another solution in Tips&Articles section: http://www.gotocode.com/art.asp?art_id=134&
Nicole
Posted: 02/28/2002, 7:28 AM

Hello,
I've found another solution in Tips&Articles section: http://www.gotocode.com/art.asp?art_id=134&

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.