Interesting issue when dealing with strings.

Interesting issue when dealing with strings.

I have created an application that allows the user to select a venue that is dependent on an agency that is selected, as well as allowing the user to add a new venue for one that does not exist.  To do this, I have created the following simple function:

    
  1.  void VenueTest(string AgencyName)

    {

        openUrl("#Form:frmVenue?cboAgency =" + input.AgencyName, "popup window", "height=100,width=100");

    }






I then call this function using the following code when the user selects “New Venue” from the Venue picklist:

       
  1.  if (input.cboVenue  ==  "New Venue")

    {

        thisapp.VenueTest(input.cboAgency);

    }





This all works well except when the name of the agency has an ampersand in the string (e.g. Saatchie & Saatchie).  If an agency has an ampersand, the popup form will still open, but it will not have the corresponding text in the field.

Is this a known issue in Zoho Creator?  Is there a workaround I can use?

Thanks.








Leo