in reply to Giving text box a hidden value
How about:
$form{searchstring} = param('searchstring') || 'any character'; [download]
Philosophy can be made out of anything. Or less -- Jerry A. Fodor