1 Reply Latest reply on Sep 8, 2007 12:59 PM by Greg Dove

    String + Function parameter = existing instance name

    elwood37
      I am doing some form validation and am trying to create a function that will check the text of a TextInput object then change the color of some adjacent dynamic text to indicate that the field has been left blank. I am passing the instance name of the TextInput to the function then I want to attach the string "Text" to the end of the instance name to create the instance name of the adjacent dynamic text field (e.g. coachFirstName --> coachFirstNameText). I am sure this is doable, but am having a hard time getting the right syntax. Here is the code I am using. Thanks!: