fcy
|
| Posted: 04/23/2002, 5:22 PM |
|
How can I get the URL firlds stored in the links demo to open in a new window?
|
|
|
 |
Nicole
|
| Posted: 04/24/2002, 2:12 AM |
|
Hello,
you should create links manually in Before Show event and add "target" attribute to link. Set "name" field type to Label and select 'HTML' flag on its properties. Here is sample code for Before Show event:
ASP
fldname = "<a href = '"&fldurl&"' target = ""_blank"">"&fldname&"</a>"
PHP
$fldname = "<a href = '". $fldurl ."' target = \"_blank\">". $fldname ."</a>";
Note, that to be able to use "url" field in custom code it should be added to the form.
|
|
|
 |
Alex Alexapolsky
|
| Posted: 04/24/2002, 2:16 AM |
|
Set field type to Label , check 'html" checkbox in field properties.
in before show event :
fldfield_name = "<a href=yahoo.com target=_blank>Yahoo</a>"
|
|
|
 |
|