Mandatory Fields in Adobe LiveCycle ®

How to design and implement mandatory fields at both design time and run time in Adobe LiveCycle.
Code used in this video:
if (this.rawValue==1)
 {
   this.parent.TextBox1.mandatory = “error”;
 }
else
 {
   this.parent.TextBox1.mandatory = “disabled”;
 }

//To make the Field optional change the above statement to: this.parent.TextField1.mandatory = “warning”;

Leave a Reply

HTML Snippets Powered By : XYZScripts.com