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:
- void VenueTest(string AgencyName)
{
openUrl("#Form:frmVenue?cboAgency =" + input.AgencyName, "popup window", "height=100,width=100");
}
- 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.Leo