PDA

View Full Version : how to link to editable textbox field


ABC123

Robert Emery
09-02-2004, 06:21 PM
Hi, I have a web component with an email address field which I want both updateable and linkable... so I figured I'd add a Compose link beside the field... so far so good.

Having trouble getting the field value to be included with the mailto: reference. I've searched and searched online and in help, to no avail... screenshot shows the layout and here is the freeform template I'm trying to use:
{Email} "a href="mailto:{Email}""Compose"/a"

probably missing something simple with respect to the quotes and including field value. Any help?

TIA,
Bob Emery

Selwyn Rabins
09-02-2004, 06:42 PM
actually, this is very easy to do. i tested it out. here is what i did.

1. because a field can only be placed on a component once, i created a calculated field called 'email2'. the expression for this was 'email2 = email'. so email2 is identical to email.

2. i placed both email and email2 on the grid. email was a text box and email2 was formatted as a link. i set the 'link' type for 'email2' to be 'email address'.

that's all there is to it.

Robert Emery
09-02-2004, 08:12 PM
excellent, thanks!

Bob