I would like to add line break following code terminate the LiveCycle ES2 SP1 Designer, please help Thanks YogLC F.P1.RequiredLanguage::initialize - (JavaScript, both) if (this.resolveNode("$").rawValue != "null" || this.resolveNode("$").rawValue != "''") { this.resolveNode("$").rawValue = this.resolveNode("$").rawValue +"\n\n"; }
Views
Replies
Total Likes
What do you mean by this.resolveNode("$") ??
Do you have a field named $ in your form?
Nith
Views
Replies
Total Likes
Try this instead:
if (this.rawValue) this.rawValue += "\n\n";
Views
Replies
Total Likes
Nith the Action Builder tool in Designer had build the code for example to to make readonly button see below.
form1.#subform[0].Button1::click - (JavaScript, client)
//+ GENERATED - DO NOT EDIT (ID:888C192F-38EE-4278-8FF5-CD3B59F508C0 CRC:3889380029)
//+ Type: Action
//+ Result1: SetEnabled("$Node2","readOnly")
//+ Node2: form1[0].#subform[0].Button2[0]
//+ Node1: form1[0].#subform[0].Button1[0]
//+ Condition1: Button("$Node1","click")
//+ ActionName: Button1.click
oTargetField = this.resolveNode("Button2");
oTargetField.access = "readOnly";
//-
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies