Web app, finally decided this is the way to go even with the learning curve for me involved.
Canvas section

I have an edit box that I want to make invisible depending on the value in of a txt box on the canvas section

If I set the visible property of the edit box to 1 = 2 and run it then it is invisible

If I set it to :

Lianja.get("page1.dpref.txtcsex").value = "M"

It does nothing even when the value in txtcsex = M

Can someone please tell me what I'm doing wrong here in the referencing of the value.