I am using Livecycle es2 and i don't know if i'm doing anything the right way.
I am trying to make it where the end user puts in a date and it is automatically inserted into a letter. I have the following script in the exit event.
var newText = form1.Letter.Text1.rawValue.replace ("[date]", this.editValue);
form1.Letter.Text1.rawValue = newText;
This makes it change, but only the first time. If they go back to change the date again, it won't change. I don't know if my script is wrong or if the exit event just isn't firing.
This is the only script i have on the form(so far). Help??