2 Replies Latest reply on Jun 29, 2011 4:26 PM by pinechick

    How to format a numeric field in ES2 ?

    Mr.Smarting

       

      Hi...

       

      I'm trying to format a numeric field in LiveCycle designer using six digit and allowing zero's "000000"…

       

       

       

      I went to patterns for setting the format, unfortunately I couldn't know how figure it out?

       

       

       

      I’ve tried this pattern: null{}|zero{000000}|num.integer{}

       

      It didn’t work!

       

       

       

      what actually I’m looking for is six digit at all time for instance if enter value of 1 in the field expect to appear 000001 ,and if i enter value 567 the appearance will be 000567 in the field and so on...etc.

       

       

       

      Another issue is how to validate a range of numeric value like 000001-999999 so that the input will be only restricted by those values…

       

       

       

      Hope this is clear! And sorry for my bad English

       

       

       

      Best Regards...