Tooltip not to be shown for userlevel 2

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Bishu
User
Posts: 429

Tooltip not to be shown for userlevel 2

Post by Bishu »

How to make disabled the tooltip only for the userlevel 2.
e.g.

if (userlevel == 2) disabled the tooltip
or
if (userlevel != 2) show the tooltip


danielc
User
Posts: 1601

Post by danielc »

To disable tooltip for userlevel 2, set in Row_Rendered server event:
if (CurrentUserLevel() == 2)
$this->YourField->TooltipValue = "";


Post Reply