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

ErnieBalbaligo
ErnieBalbaligo
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
3

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by ErnieBalbaligo
Customize the badges you want to showcase on your profile
Re: Exits a for loop when encountered a null value - Adobe LiveCycle 15-10-2009
I figured it out, Its not actually exiting the loop but stops at a certain line because the variable at that line is not yet declaredfor (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) { var oFields = xfa.layout.pageContent(nPageCount, "field"); var nNodesLength = oFields.length; for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) { if (oFields.item(nNodeCount).ui.oneOfChild.className == "textEdit") { app.alert(oFields.item(nNodeCount).name); if (fieldObject.rawV...

Views

68

Likes

0

Replies

0
Exits a for loop when encountered a null value - Adobe LiveCycle 14-10-2009
Hi,I've encountered this problem wherein I need to loop through all the fields and determine if its a text field, then check whether the field is null or not.However if it encountered a text field with a null value, it exits the loop and the rest of the text fields are not checked. Any ideas? Please see the code below. Thanks!for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) { var oFields = xfa.layout.pageContent(nPageCount, "field"); var nNodesLength = oFields.length; for (...

Views

452

Likes

0

Replies

1
toUpperCase in LiveCycle - Adobe LiveCycle 13-10-2009
Hi,I'm in the process of converting a script created in Adobe Professional to Adobe LiveCycle. What is the equivalent of the function toUpperCase and valueAsString in LiveCycle?below is the sample code :this.getField("btnField1").valueAsString).toUpperCase();Thanks!

Views

358

Likes

0

Replies

0