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

TheSocialRegres
TheSocialRegres
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
3

Discussions

Discussions
0

Questions

Questions
3

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by TheSocialRegres
Customize the badges you want to showcase on your profile
Re: Validation on Exit prevents window closing. - Adobe LiveCycle 29-04-2010
Thank you, Josh.This works just fine, except when the field is empty. The script apparently will not run at all if the value is null UNLESS I have data in the field, and then I erase it. I tried two ways to test for null (this.rawValue == null) and (this.rawValue == ""). Neither work.I threw in an alert that should run each time the script runs. It indicates that the script does not run when the field is empty.var a = new RegExp();a.compile("^[a-zA-Z\-]*$", "i");app.alert("Validator");var curren...

Views

410

Likes

0

Replies

0
Re: Validation on Exit prevents window closing. - Adobe LiveCycle 28-04-2010
Thank you, Srini. I've done some work, but it appears the Validate event doesn't quite work for me.My workflow is a little different than normal. First, my client requires that each field be properly validated as the user progreses through the form. Second, the data is not getting posted or sent anywhere. The end result is that the user simply prints the form and sends it via fax or mail. To meet the first requirement, the Exit event works almost perfectly. The problem with the Validate event is...

Views

416

Likes

0

Replies

0
Validation on Exit prevents window closing. - Adobe LiveCycle 27-04-2010
Hi, all.I have developed a dynamic PDF that has certain "required" fields. All validation is done in Javascript when the user tries to Exit the field. If the data does not match my regular expression, a message appears and focus is thrown back to the invalid field. It is all working just fine except for this - When I attempt to close the window, save the file, print, or do anything that takes me away from an invalid field, the PDF goes into a loop of messageBox alerts and eventually a big error ...

Views

2.6K

Likes

0

Replies

5