Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

still-learning-
still-learning-
Offline

Badges

Badges
0

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
2

Discussions

Discussions
0

Questions

Questions
0

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by still-learning-
Customize the badges you want to showcase on your profile
Re: leading zero - Adobe LiveCycle 08-12-2016
Thanks Bruce,Someone else gave me the following and it works just fine:if (event.value) { event.rc = /^\d{5,7}$/.test(event.value); if (!event.rc) app.alert("You must enter between 5 and 7 digits.");}Do you know where I can read up on: /^\d{5,7}$/.test(event.value)Regards,JeffJeff HillLions Clubs InternationalMSC Business Analyst630-468-6759Celebrating 100 Years of ServiceLions100.org“We Serve”[ico-fb][ico-yt]

Views

937

Likes

0

Replies

1
Re: leading zero - Adobe LiveCycle 07-12-2016
So If I wanted 4 digits and retain leading zeros in the display I would use num{'000'9}?Where does that go on the Validate tab in the custom validation script?

Views

2.1K

Likes

0

Replies

3