Hide field No working :(

Hide field No working :(

Hi :)

I want to hide field when lookup equal specific option.
in my case when Account lookup = "Assets"  hide "Amount

Code in  "Account" on user input  :

 if ((input.Account).toString()  ==  "Assets")
{
    hide Amount;
}

The surprise is No Working