Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

How to format a numeric field in ES2 ?

Avatar

Former Community Member

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...

2 Replies

Avatar

Level 3

Hi,

could you please share your solution?

I have a similar problem. I need to allow zeros before my integers to be inputed to the form.

thanks.

Please see my posting here:

http://forums.adobe.com/thread/870306?tstart=0