Hide a field value for user (v8)

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

Hide a field value for user (v8)

Post by rewo »

Hello,

I know this is not a support forum, but your help will be highly appreciated as I am struggling with something.

My environment is build with PHPMaker 8.

I have a table "tablerecord" where I have a column "PRICE_BUY", that I need to hide if the user from table "users" is user_type = User.

I am using and existing user table.

Thank you in advance


ahad
User
Posts: 23

Post by ahad »

Try this its worked on my code

if ($CurrentUserRole == 9){ // user information 
        $this>Campaign_Details>Visible = FALSE;}

Post Reply