cancel
Showing results for 
Search instead for 
Did you mean: 

depending on login how to disable a button

Former Member
0 Kudos

hi

can any one tell me that depending on login how to disable a button in a bsp page.

regards

Prasun

Accepted Solutions (1)

Accepted Solutions (1)

former_member459142
Participant
0 Kudos

Hi prasun

Abhinav is right

take a variable which will contain only TRUE or FALSE

it depends on ur condition , whats ur requirement

then pass ur variable in HTMLB control

like this

                             disabled = "<%= v_condition%>"  
                                        

and v_condition can only contain TRUE or FALSE

hope it will help u .

Thanks

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prasun,

After checking your logon condition specify an attribute which should be of type boolean and assign true or false value to this attribute.

In your htmlb:button use the attribute - disabled = "<%= your_attribute_type_boolean %>".

Hope this helps.

Regards,

Abhinav