Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disappearing Email

Status
Not open for further replies.

struth

Programmer
Aug 26, 2001
114
GB
User puts in their emailaddress. Fine. I want to display that with a mailto link. So ....

<a href=&quot;mailto:<%=(rsProviderDetails.Fields.Item(&quot;SupplierEmailAddress&quot;).Value)%>&quot;><%=(rsProviderDetails.Fields.Item(&quot;SupplierEmailAddress&quot;).Value)%></a>

But no it won't accept duplicate recordset field. The 2nd just disappears. How can I avoid this.

Tia
 
What does it look like when you &quot;view source&quot; on the page?
penny.gif
penny.gif
 
It gives me
<a href=&quot;mailto:justwhat@Iexpected.com&quot;></a>

No highlighted link text at all or text of any kind!

 
for test purposes, try putting a constant where the email address should display:

<a href=&quot;mailto:<%=(rsProviderDetails.Fields.Item(&quot;SupplierEmailAddress&quot;).Value)%>&quot;>Put your constant here</a>

see how that works.

Or you could save the value to a variable:

Dim sEmail
sEmail = rsProviderDetails.Fields.Item(&quot;SupplierEmailAddress&quot;).Value


<a href=&quot;mailto:<%=sEmail%>&quot;><%=sEmail%></a>




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top