Skip navigation
milind111111
Currently Being Moderated

Form Ready Event

Jun 2, 2010 3:39 AM

I have created XDP file containing one text filed (ABC) on which I putted the JavaScript in "form:ready event " which concatenated the three files and puteed the concatenated result in above text filed(ABC). It is working fine.

 

When I generated above XDP file using Livecycle Workbench it is getting generated properly and I am able to save it also.

 

 

But when I open it and if I edited any other filed besides(ABC)  and if I saved  and reopen it I found that the concatenated data in the above textfiled(ABC) get repeated. It will get repeated/Edit.

 

Any one knows how to stop it.

 
Replies
  • Currently Being Moderated
    Jun 16, 2010 12:16 AM   in reply to milind111111

    If I understand your question properly, it seems perfectly reasonable what is happening.

    The form ready event, as the documentation said, initiates after the form design and data are merged, the finished form exists in memory, and the initialize, calculate, and validate events are complete. So, every time you reopen your form a new Form Ready event is launched and the script is executed.

    I think that if you want to change this behaviour you have to change the event that executes the script or put more controls in the script first of doing actions (i.e. concatenating the string).

    Can you share your form in order to realize if I understand well your question?

    Hope this helps,

    Alessio

    Rome, Italy

     
    |
    Mark as:

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