AndreasB
Posts: 9
|
Posted: 03/29/2004, 4:36 AM |
|
Hello,
i would like to hide a specific link in a grid form whenever a certain field is set to a certain value:
regular list with 3 columns:
Name Status Kick
-----------------------------------------------
Andreas not kicked kick!
Dave kicked
Aaron not kicked kick!
linke in this example, i would like the "kick!" link to be invisible if the status of the user is already "kicked".
Is this possible w/CCS??
Thanks in Advance,
Andreas Belitz
|
|
|
AndreasB
Posts: 9
|
Posted: 03/29/2004, 4:55 AM |
|
btw: Forgot to tell: i use PHP4 w/Templates
|
|
|
AndreasB
Posts: 9
|
Posted: 03/29/2004, 5:11 AM |
|
Got it working myself... if anyone is interested:
I used the following commands in the BeforeShow Event of the Link itself:
global $myform;
if ($myform;->ds->kicked_field->GetValue() == "kicked")
{
$myform->kick_link->SetText("");
}
|
|
|
|