Eliot,
I need to use what people put in the form as the "Contact Email" AS the URL. I've searched the archives and seen where you've given this code.....
My suggestion is that you do not use the URL field for the email address, simply use the Contact Email field as the email link, like the following:
code:
<%if URL%>
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
<%endif%>
AND
code:
<%ifnot URL%>
<a href="mailto:<%Contact Email%>"><%Contact Name%></a>
<%endif%>
It makes perfect sense for what I need it for, but where, and to which file do I add the code??
links.def?
nph-build.cgi?
templates/add.html?
Thanks!
I need to use what people put in the form as the "Contact Email" AS the URL. I've searched the archives and seen where you've given this code.....
My suggestion is that you do not use the URL field for the email address, simply use the Contact Email field as the email link, like the following:
code:
<%if URL%>
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
<%endif%>
AND
code:
<%ifnot URL%>
<a href="mailto:<%Contact Email%>"><%Contact Name%></a>
<%endif%>
It makes perfect sense for what I need it for, but where, and to which file do I add the code??
links.def?
nph-build.cgi?
templates/add.html?
Thanks!