Accessing Forms from a Different Application

Accessing Forms from a Different Application

I want to run deluge code that looks like this:

  1. if (count(master.States[Country == input.Country])  ==  0)
  2. {
  3.     clear State;
  4. }
master is the name of the other application. Country is a field in the States form and input.Country is a picklist on the current form. However, Zoho keeps telling me it doesn't expect a [ on the first line. Can I access form data from a different application like this?