J.D. Archer
|
| Posted: 11/21/2002, 3:09 PM |
|
Hello,
I am in the process off converting several of my cc2 to ccs. I have some
custom code to convert from cc2 php to ccs php. I have a label field that I
want to combine several database fields together to make a clickable link.
Also I have the fields that make the links in hidden fields like in CC2.
Here is my code;
global $websites; // Form name
Below is were I am confused about my quotes
$websites->ClickMe->SetValue("<font face=\"verdana\" size=\" .
$websites->fontsize->Value . "\"><a href=\"" . $websites->weblink->Value .
"\" target=\"_blank\">" . . $websites->webname->Value . "</a></font>");
I have also tried it without the quotes around the html tags.
I would use the url field but can't seem to locate it in the new layout.
--
J.D. Archer
Network Engineer
859-312-7012 http://www.jdarcher.net
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 11/22/2002, 6:39 AM |
|
It's better to convert to Label control in this case
--
Alex,
Support Engineer
CodeCharge Team
"J.D. Archer" <jarcher@engineer.com> wrote in message
news:arjp2u$suj$1@news.codecharge.com...
> Hello,
>
> I am in the process off converting several of my cc2 to ccs. I have some
> custom code to convert from cc2 php to ccs php. I have a label field that
I
> want to combine several database fields together to make a clickable link.
> Also I have the fields that make the links in hidden fields like in CC2.
>
> Here is my code;
>
> global $websites; // Form name
>
> Below is were I am confused about my quotes
> $websites->ClickMe->SetValue("<font face=\"verdana\" size=\" .
> $websites->fontsize->Value . "\"><a href=\"" . $websites->weblink->Value .
> "\" target=\"_blank\">" . . $websites->webname->Value . "</a></font>");
>
> I have also tried it without the quotes around the html tags.
>
> I would use the url field but can't seem to locate it in the new layout.
>
> --
>
>
> J.D. Archer
> Network Engineer
> 859-312-7012
> http://www.jdarcher.net
>
>
|
|
|
 |
|