% $m->out(qq{
By $disp_field:
}) if $disp_field;
<& '/widgets/profile/text.mc', name => $widget.'|value', value => $crit_field, size => 32, maxlength => 100, useTable => 0 &> % # This hidden field is required to make the form submit when the user hits % # the "enter" key. <& '/widgets/profile/hidden.mc', name => 'search|substr_cb', value => 'Search', &> <& '/widgets/profile/button.mc', disp => $lang->maketext('Search'), widget => 'search', cb => 'substr_cb', button => 'search_red', useTable => 0, &>
<%args> $widget $object $disp_field <%init> my $crit_field = get_state_data($widget, $object)->{crit_field};