[WEB4LIB] Re: Help with Site Search Page in Front Page

Nancy Sosna Bohm plum at ulink.net
Tue Mar 12 12:04:31 EST 2002


on 3/12/02 10:48 AM, Thomas Dowling at tdowling at ohiolink.edu wrote:
...
> Form currently doesn't work for me.
> 
Me neither. On a mac with Netscape.



> 
>> The reset button works fine *before* you do the search, but in the
>> results page generated by Front Page after the search - over which I
>> have no control - you search terms remain in the text box and the search
>> and reset buttons are still there, but the latter button doesn't work.
>> It's just there, mocking the user, seemingly proffering the solace of a
>> new start, a clean slate, a fresh beginning ...
> 
> 
> I think you misunderstand what an input type=reset is supposed to do.  It
> doesn't make all the form inputs blank--it resets them to their default
> values.  It sounds like your form handler includes the previous search as
> the search input's default value on the results page (<input name="search"
> value="[what you just searched]">).
> 
> In other words, the reset button is doing what it should, just not what you
> expect.  There is nothing in HTML corresponding to what you're asking
> for.  Usually you'd accomplish it by instructing the form handler not to
> include a default value for the input in the first place.
> 
> 
> 
> Thomas Dowling
> OhioLINK - Ohio Library and Information Network
> tdowling at ohiolink.edu
> 
> 




More information about the Web4lib mailing list