Actually, you could not use the URL field at all, if all you want are e-mail links. Also remove the Title field. To make the listing like you have it now, with the owner's name first, and linked to e-mail, maybe try:
<a class="link" href="mailto: <%contact_email%>"><%contact_name%></a>
This would go in link.html, to replace this line:
<a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
This would stop the new, blank page from opening, and just pop up the viewer's email client. It will also greatly simplify you add/modify forms.
From this:
Name
Email Address
Location
Description
Contact Name
Contact Email
to this:
Name
Email Address
Location
Description
You can of course rename the caption for each field on the form (add.htm/modify.html), without affecting the form action (from 'Contact Name' to 'Name'.) Remenber to make the same changes to the error pages.
Leonard
aka PerlFlunkie
<a class="link" href="mailto: <%contact_email%>"><%contact_name%></a>
This would go in link.html, to replace this line:
<a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
This would stop the new, blank page from opening, and just pop up the viewer's email client. It will also greatly simplify you add/modify forms.
From this:
Name
Email Address
Location
Description
Contact Name
Contact Email
to this:
Name
Email Address
Location
Description
You can of course rename the caption for each field on the form (add.htm/modify.html), without affecting the form action (from 'Contact Name' to 'Name'.) Remenber to make the same changes to the error pages.
Leonard
aka PerlFlunkie