</%doc>
<%args>
$quri
-$qa
$commodstring => '';
</%args>
+% my $qa= \%ARGS;
+
%#---------- textbox, user enters route as string ----------
% if (!$qa->{Dropdowns}) {
<h1>Select commodity</h1>
+Enter commodity (abbreviations are OK):<br>
+
<form action="<% $quri->() |h %>" method="get">
<&| qtextstring, qa => $qa, thingstring => 'commodstring' &>
size=80
</&>
+<input type=submit name=submit value="Go">
+% my $ours= sub { $_[0] =~ m/^commodstring/; };
+<& "lookup:formhidden", ours => $ours &>
+
+</form>
+
% } else { #---------- dropdowns, user selects from menus ----------
% } #---------- end of dropdowns, now common middle of page code ----------