I am relatively new to Livecycle Designer and have been trying to add a feature to my form design with no luck. I was hoping someone could help. I have version 8.2.
I have cells set up as numeric fields. If a negative value is input into the cell, I would like the typeface to be bold, if zero or a positive value is input, I would like the value to be normal. Here is the code I have which is bits and pieces from researching the issue on this forum:
F.P1.Table1.Row[0].ReqIncrDecr::exit - (JavaScript, client)
if (this.rawValue < 0) {
F.P1.Table1.resolveNode(Row[0].ReqIncrDecr.font.typeface = "Arial-Bold");
}
else
F.P1.Table1.resolveNode(Row[0].ReqIncrDecr.font.typeface = "Arial");
The message I get is that Row[0] has no properties. I'm unsure of how to proceed. Any help will be very much appreciated.
your script is basically correct, only your reffrence syntax to the form object "ReqIncrDecr" is nonsense.
You can access the typeface property much easier.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs