In html.pl, sub html_view_failure after
<p><center><$font_title><b>
Search Failed
</b></font></center><br>
change the rest of the subroutine to
Code:
|;
if ($db_userid eq "default") {
print qq|Please enter the correct Warranty No. again.
# Then add your simplified search form structure here.
# Do not include the beginning form definition, or the hidden fields
# They are already part of the subroutine.
|;
}
else {
print qq|<$font>
<P>There were problems with the search. Reason:
<FONT COLOR="red"><B>$message</B></FONT>
<BR>Please fix any errors and submit the record again.</p>
|;
&html_record_form(%in);
&html_search_options;
print qq|</p>
</font></p>
<p><center> <INPUT TYPE="SUBMIT" NAME="view_records" VALUE="View Records">
<INPUT TYPE="RESET" VALUE="Reset Form"></center></p>
|;
}
&html_footer;
print qq|
</td></tr>
</table>
</form>
</body>
</html>
|;
------------------
JPD