You need to sign in to do that
Don't have an account?
RIteshM
How to set visibility of html element in html
if there is a visualforce element then we set visibility according to the redered attribute . =but i have to set visibility of visualforce according to data of html element
<p style="display:{! IF(userSettings == null && $Profile.Name !='System Administrator','visible','hidden')}">Click on the authorize to authorize your self to Google GLASS Account <apex:commandButton value="Authorize" action="{! authorizeApp}" />
i want to set visibility but its showing me the p element in every case.please guideline how to do this ??
Hi,
U need to change uor code little bit:
style="display:{! IF(AND(userSettings == null ,$Profile.Name !='System Administrator'),'','none')}"
Please let me know if u have any problem on same and if this post helps u please throw KUDOS.
All Answers
Hi,
U need to change uor code little bit:
style="display:{! IF(AND(userSettings == null ,$Profile.Name !='System Administrator'),'','none')}"
Please let me know if u have any problem on same and if this post helps u please throw KUDOS.
Thanks a lot its working great.
tried one more experiment
rendered="{! IF(AND($Profile.Name !='System Administrator',OR(apiSettingsReady,NOT(editApiSettings))),false,true)}" .is this also a right operation or not?? its not working as expected