Help with a Deluge Script

Help with a Deluge Script

Hi All,

I have a group of members that are all paid clients of Zoho.  We have a form that we use to enter data regarding the programs of real estate lenders.  I want to publish that form to enable the lenders (non-members)  to add data on their own. However, I want to exclude certain fields from the view of the lenders.  

Zoho support suggested that I use the following script"   if(zoho.loginuserid==null||zoho.loginuserid=="")  I am not experienced in writing scripts and I cannot figure out how to implement this.  I keep getting an error message that the script is not written property.

The field I want to exclude is called  "Commentary."  How do I use this script to exclude the Commentary field from the view of the lenders but then have it available when my members access this record?  Thanks for your help.