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
|
|
|
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/
>
|
|
|
|