8 Replies Latest reply: May 4, 2012 8:43 AM by try67 RSS

    Validation Code Confusion

    blakedodson.prg Community Member

      Why doesn't this validation code work?  if(event.value == 135.31 | event.value == '') event.value = '';


      It works if I don't use 135.31 and I only use 125, but I don't want it to show this particular dollar amount.  I don't know Java script at all, I copied most of this code from another forum.  Any ideas?  I can send the form I've created if that helps.


      Blake Dodson