2 Replies Latest reply on Nov 6, 2015 3:03 AM by sw777

    Javascript to convert mixed character string to upper case

    sw777

      Hi all,

       

      I have a text field with mixed characters. The Format is set to Special with the mask 99AAA-999.

       

      When entered as 15bel-201, I want the case to change to 15BEL-201.

       

      I have tried using the following in the Validate panel to no avail...

       

           event.change = event.change.toUpperCase();

       

      I have dabbled with Javascript in PDF documents before but am no expert.

       

      Any ideas?

       

      Thanks in anticipation.