DeWebDude
|
| Posted: 01/29/2003, 2:02 PM |
|
Hi, I can't seem to figure out how to put a clear button on a search form from WITHIN codecharge, yes I know we can put it in the template (using php w/temp), but I wanted to see if there was a way within CC.
Thanks !
|
|
|
 |
Chris - CCS Newbie
|
| Posted: 01/30/2003, 7:38 PM |
|
Forgive me in advance if I am not helping, but I was trying to do the same thing, so I did the following
I added a button and changed the type to reset instead of submit. This cleared out any changes I had made since the last refresh of the page, but did not actually clear the pre-existing search criteria.
So then I changed the type to button and added some code as follows to the client side onclick event (vbscript)
document.ClaimStatusesSearch.s_Status.value = ""
document.ClaimStatusesSearch.s_Description.value = ""
Hope this helps you out.
Chris
|
|
|
 |
|