Anthony Niemann
|
| Posted: 03/19/2002, 7:09 AM |
|
I am using PHP4 with templates and this works fine for me.
The following should give you what you asked for:
1. Create a new field (Field1), set it's type in the fields list as Label.
2. Open the Field Properties editor and set Data Type=Text and check the
Html box.
3. Include the DB fields "link_url" and "link_name" in the fields list.
4. Set both their types in the fields list to Hidden.
5. Go to the Form Properties, Events tab. In the Before Show event put the
following code:
$fldField1='<a href="' .$fldurl_link. '" target="blank" ' .$fldlink_name.
'</a>';
> > "dsafar" <dsafar@hotmail.com> wrote in message
> >news:a4c03v$1q6$1@news.codecharge.com...
> > I am using php 4.0 and templates. Is there a way to specify the target
> > window for a URL field type inside of codecharge? I have been able to go
> to
> > the html and simply add target="_blank" and make it work, but I would
like
> > to accomplish this programmatically w/o having to modify the generated
> html
> > file. I am using the standard links file that ships with the sample
> > applications. My url field is link_name and I have "Use URL Field"
checked
> > and the URL field specified as link_url. The data in link_url is
something
> > like http:://www.amazon.com.
> > --
> > Don Safar
> >dsafar@hotmail.com
> >
> >
>
>
|
|
|
 |
|