I'm sure this is extremely basic but I dont see why this isnt working. Working in LCD 8.0.
If Field A is not null make Fields B,C,D & E required.
Field A is in a diferent subform than fields B,C,D,E.
I have this code on the Exit event of Field A (this).
The Object Value tab for fields B,C,D & E is set for "User Entered-Optional" .
if ((this.rawValue != null || this.rawValue != " ") && (this.rawValue.length > 0)) { F1.P1.C2.Info.Firm.mandatory = true; F1.P1.C2.Info.Contact.mandatory = true; F1.P1.C2.Info.Phone.mandatory = true; F1.P1.C2.Info.Email.mandatory = true; } else { F1.P1.C2.Info.Firm.mandatory = false; F1.P1.C2.Info.Contact.mandatory = false; F1.P1.C2.Info.Phone.mandatory = false; F1.P1.C2.Info.Email.mandatory = false; }
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=22692
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs