JHoffman
|
Posted: 05/22/2001, 2:24 PM |
|
I've got a field called email in my table that I want to present as an email
link. I've used fldemail ="<href = mailto:" & fldemail & ">" & fldemail &
"</a>" in my Before Show events and set the email field to be a label. If I
uncheck html, I can see that my correct mailto: html is there. I've tried
making the field a URL, but it creates a live link to my live directory with
the email address tagged onto the end. How do I make this an active mailto:
link?
Thanks,
Joe
|
|
|
David A. Lee
|
Posted: 05/22/2001, 2:37 PM |
|
Here's a trick that worked for me ... I used a custom select statement
like this:
select * , concat('mailto:',s_email) as mailto from table
The I use the "mailto" field as the URL ... that did work
"JHoffman" <jhoffman@aol.com> wrote in message
news:9eelf8$rk7$1@mail.tankhill.com...
> I've got a field called email in my table that I want to present as an
email
> link. I've used fldemail ="<href = mailto:" & fldemail & ">" & fldemail &
> "</a>" in my Before Show events and set the email field to be a label. If
I
> uncheck html, I can see that my correct mailto: html is there. I've tried
> making the field a URL, but it creates a live link to my live directory
with
> the email address tagged onto the end. How do I make this an active
mailto:
> link?
>
> Thanks,
> Joe
>
>
|
|
|
Alexey Alexapolsky
|
Posted: 05/23/2001, 8:13 AM |
|
why do you uncheck "html" ?
can you see email link ?
anyhow it's supposed to be a label type in this case .
currently codecharge doesn't treat mailto: as url type when it
comes to field properties.
--
Regards,
Alexey
CodeCharge Support
JHoffman <jhoffman@aol.com> wrote in message
news:9eelf8$rk7$1@mail.tankhill.com...
> I've got a field called email in my table that I want to present as an
email
> link. I've used fldemail ="<href = mailto:" & fldemail & ">" & fldemail &
> "</a>" in my Before Show events and set the email field to be a label. If
I
> uncheck html, I can see that my correct mailto: html is there. I've tried
> making the field a URL, but it creates a live link to my live directory
with
> the email address tagged onto the end. How do I make this an active
mailto:
> link?
>
> Thanks,
> Joe
>
>
|
|
|
Joe Hoffman
|
Posted: 05/23/2001, 4:43 PM |
|
I unchecked html just to see if the html formatting was there. I can see a
link, but it puts my live directory in front of the email address:
example: c:/virtualhost/htdocs/someone@somwhere.com
I would like the email address to be mailto links so visitors can click on
them and launch their mail client.
Thanks.
> From: "Alexey Alexapolsky" <alexa@codecharge.com>
> Organization: YesSoftware
> Newsgroups: codecharge.discussion
> Date: Wed, 23 May 2001 18:07:12 +0300
> Subject: Re: creating email (mailto:) links
>
> why do you uncheck "html" ?
> can you see email link ?
> anyhow it's supposed to be a label type in this case .
> currently codecharge doesn't treat mailto: as url type when it
> comes to field properties.
>
> --
> Regards,
> Alexey
> CodeCharge Support
>
>
>
> JHoffman <jhoffman@aol.com> wrote in message
>news:9eelf8$rk7$1@mail.tankhill.com...
>> I've got a field called email in my table that I want to present as an
> email
>> link. I've used fldemail ="<href = mailto:" & fldemail & ">" & fldemail &
>> "</a>" in my Before Show events and set the email field to be a label. If
> I
>> uncheck html, I can see that my correct mailto: html is there. I've tried
>> making the field a URL, but it creates a live link to my live directory
> with
>> the email address tagged onto the end. How do I make this an active
> mailto:
>> link?
>>
>> Thanks,
>> Joe
>>
>>
>
>
|
|
|
CodeCharge
|
Posted: 05/24/2001, 1:29 PM |
|
What you did should work, but please use "Label" field type instead of URL.
And please check the "Html" option.
"JHoffman" <jhoffman@aol.com> wrote in message
news:9eelf8$rk7$1@mail.tankhill.com...
> I've got a field called email in my table that I want to present as an
email
> link. I've used fldemail ="<href = mailto:" & fldemail & ">" & fldemail &
> "</a>" in my Before Show events and set the email field to be a label. If
I
> uncheck html, I can see that my correct mailto: html is there. I've tried
> making the field a URL, but it creates a live link to my live directory
with
> the email address tagged onto the end. How do I make this an active
mailto:
> link?
>
> Thanks,
> Joe
>
>
|
|
|
|