I'm sure there is a way. I haven't tested this, but you might give it a try.
In db.cgi, change the line
elsif ((keys(%in) <= 2) | | ($in{'login'})) { &html_home; } to
elsif ((keys(%in) <= 2) | | ($in{'login'})) { &user_entry; } Then, at the end of db.cgi, add the following subroutine:
sub user_entry {
$in{'userid'} = $db_userid;
my ($status, @hits) = &query("view");
if ($status eq "ok") {
&html_view_success(@hits);
}
else {
&html_add_form;
}
} Of course, you would change
userid to whatever the you've called the field.
I haven't tested it out, so I'm not guaranteeing anything, but it seems like it should work. Please let me know.
------------------
JPD