hide command not hiding fields

hide command not hiding fields

Hi,

I have a form named stage with the following field and data:
-Stage
-Grapes
-Fermenting
-Juice
-Must
I have another form named Analysis that contains fields that I would like to hide in function of the stage chosen.  For example, if the user chooses "Grapes", I would like to hide all fields except Brix and pH.  To test my syntax, I have only been trying to hide the "Lot" field.  I have used the following to try to accomplish this:

if(input.Stage.toString()  ==  "Grapes")
{
hide Lot;
disable Lot;
}

I am not getting an error but the field "Lot" is not being hidden.

I would be grateful for your assistance.

Best regards,

Jeff