Skip navigation
tygerfarr
Currently Being Moderated

LiveCycle/Java Issues

Mar 15, 2012 8:19 AM

Tags: #livecycle_form; #javascript.

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??

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points