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

Santouryuu_Thre
Santouryuu_Thre
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Santouryuu_Thre
Customize the badges you want to showcase on your profile
How to validate specific fields from multiple subforms before printing? - Adobe LiveCycle 15-11-2012
Hi,Is it possible to add validations in a form with 3 checkboxes before printing and each checkbox gives other textfields(subforms), you can only check one box at the time. When I tried to validate, it checks all the textfields from each checkbox. I want to validate only the textfields of the box I have checked. So far, I can validate all the textfields and not independently from each checkbox.This part is for the printing: if ( (xfa.resolveNode("TextField2").rawValue == null) || (xfa.resolveNode("TextField3").rawValue == null) ){ app.alert("Please fill in all the fields.",3); xfa.event.cancelAction = true; // cancel printing app.runtimeHighlight = true; if (xfa.resolveNode("TextField2").rawValue == null) { xfa.resolveNode("TextField2").fillColor = "000,159,218"; } if (xfa.resolveNode("TextField3").rawValue == null) { xfa.resolveNode("TextField3").fillColor = "000,159,218"; }}else{ xfa.event.cancelAction = false; // proceed with printing} I'm a beginner and I hope someon could help me with this. Thanks!

Views

577

Likes

0

Replies

0