11 Replies Latest reply on Jul 26, 2012 6:24 AM by Vaughan

    How to set "Upper ()" in script trigger?

    MarkB

      Hi All,

       

      I'm using 2 multi-purpose global text fields for entering text (First Name, Last Name). I want the text entered to convert to upper case in this instance, but not so in other uses of these fields. This is not a problem if I have a dedicated field for that entry, but in this case I'm trying to be conservative with fields. My thoughts were to have a script trigger apply the Upper () function to the contents of the global field. However, the Set Field needs a specific field, and Set Field by Name doesn't like having a parameter value (name of the field) as the object of the Upper () function and the "Self" values is also rejected. I'm drawing a blank on this one, but I feel there's got to be a way - if only my brain would work.

       

      Thanks, Mark