7 Replies Latest reply on Jan 5, 2012 9:33 AM by Markojett

    Script Problem - Only works with numbers?

    Markojett Level 1

      I'm hoping someone can help. I have this script that I use to make barcodes:

       

      if (event.value!="")

      event.value=

      "*"+event.value+"*"

       

      It works fine when a user enters a number, but it won't accept letters. When I change the font from 3 of 9 barcode, the field reads "0". This field is calculated from another field. Any way to have this accept letters as well? I am using Adobe X.

       

      Thanks in advance.