LiveCycle/Java Issues

Avatar

Avatar
Validate 1
Level 1
tygerfarr
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
tygerfarr
Level 1

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
tygerfarr
Level 1

15-03-2012

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

Avatar

Avatar
Boost 5
Level 2
Julien
Level 2

Likes

9 likes

Total Posts

76 posts

Correct reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile

Avatar
Boost 5
Level 2
Julien
Level 2

Likes

9 likes

Total Posts

76 posts

Correct reply

4 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 3
View profile
Julien
Level 2

16-03-2012

Hi,

This forum here is for questions related to LCCS.

For help with your question, I'd recommend that you take a look at this list here and pick the forum that matches the product you are using and/or the question you have:

http://forums.adobe.com/community/livecycle

Best,

Julien

LCCS Quality Engineering