Start a new topic

"Disable when empty" option for a link

Hi Team,


Could you please let me know how i can hide a link using disable when empty option. I tried emptying nav. to App attribute by binding with a variable but it doesnot work. Can anybody help me?




Thanks,

Chandrasen


Not sure what you mean. What framework are you talking about? Is the 'link' bound to the application class? Try to use the visible attribute to hide the element if you don't want to show it and bind this attribute to the application class. 


Kind regards


Ralf-J.

Before login I dont want to display the link on webpage, but for the same page after login i want to display the link. Can i do that using "Disable when empty" option?


I am using JQM framework.



Thanks,

Chandrasen

Bind the the Attribute field in the General tab to a field in the application class. Set the value to hidden="hidden" and clear the field after the login.

Disable usually means that a field on the ui is grey and the user can't put something in. The HTML5 tag <link> has no attribute 'disabled': http://www.w3schools.com/tags/tag_link.asp


Kind regards


Ralf-J.

Login or Signup to post a comment