CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Help/Consulting -> Help - Jobs Wanted

 Changing Hyperlink to a URL

Print topic Send  topic

Author Message
mattlemon

Posts: 2
Posted: 09/13/2005, 6:46 AM

Hi,

I'm using PHP with templates and I have a field that I want to be a link if the CCGetGroupuID is above 1. If not then I want it to appear as a label.

Any ideas on how to do this ?

Cheers,

Matt
View profile  Send private message
matt
Posted: 09/13/2005, 7:50 AM

Actually I lied, I using ASP !

Quote mattlemon:
Hi,

I'm using PHP with templates and I have a field that I want to be a link if the CCGetGroupuID is above 1. If not then I want it to appear as a label.

Any ideas on how to do this ?

Cheers,

Matt



Juan Domingo Herrera
Posted: 09/14/2005, 7:24 AM

Hello Matt,

Just use two controls and hide or unhide one or the other according to the
value of the function, something like this:

If CCGerGroupID() = 1 Then
FormName.ControlNameLink.Visible = True
FormName.ControlNameLabel.Visible = False
Else
FormName.ControlNameLink.Visible = False
FormName.ControlNameLabel.Visible = True
End


--
Regards,
Juan Domingo Herrera
----------------------------------
SoftMasters - http://www.softmasters.com.ar
Buenos Aires - Argentina

"matt" <matt@forum.codecharge> escribió en el mensaje
news:214326e71aa71d5@news.codecharge.com...
> Actually I lied, I using ASP !
>
>
Quote mattlemon:
> Hi,
>
> I'm using PHP with templates and I have a field that I want to be a link
> if the
> CCGetGroupuID is above 1. If not then I want it to appear as a label.
>
> Any ideas on how to do this ?
>
> Cheers,
>
> Matt
>
>
>
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Walter Kempees
Posted: 09/15/2005, 1:05 AM

Just a friendly comment:
Post these questions in the CodeCharge ASP forum.
This "Help Wanted" and "Help Available" was created for paid help,
advertising.
greetz,
Walter
"mattlemon" <mattlemon@forum.codecharge> schreef in bericht
news:214326d836f05b0@news.codecharge.com...
> Hi,
>
> I'm using PHP with templates and I have a field that I want to be a link
> if the
> CCGetGroupuID is above 1. If not then I want it to appear as a label.
>
> Any ideas on how to do this ?
>
> Cheers,
>
> Matt
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.