I'm using the Pre-Save event to trigger the action.
My goal: Right before the document is saved, I want the value that is in fldBallotGroupCount to be set as the default value.
Here is my code:
---------------------
form1.BallotOrder.fldBallotGroupCount::preSave - (JavaScript, both)
this = form1.BallotOrder.fldBallotGroupCount.RawValue;
----------------------
Right now it saves the value in the field, but it doesnt save it as the default when I open it in livecycle.
Any help would be appreciated.
Thanks.
From what I'm seeing you assign the value of "fldBallotGroupCount" to itself at the preSave:Event.
What is that supposed to achieve?
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs