cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Javascript code disappears after activating the form

Former Member
0 Likes
4,890

Not sure what's wong, but as soon as I activate the form all the javascript disappears. It still works when the form is executed and displayed, all events work fine. But when I go back in livecycle designer to see the code, there is just no code at all. I have shutdown SAP GUI, my computer, restarted everything but cannot get around this problem.

Any ideas? google didn't return anything as well.

View Entire Topic
Former Member
0 Likes

I have the exact same problem.

Have written code to change caption in the initialize event of that text field but when returning to the form after testing it the code has disappeared. The code still works, but I cannot see, change or delete it anymore

Any suggestions would be helpful.

Erik

Piyushmatrixs
Participant
0 Likes

Hi Erik,

1.   Open your form in edit mode.

2.   Select the text field at which you had written script.

3. Select the " INITIALIZE "  event (it would be marked with " * " like "Initialize *" ) from drop-down list of events at top left . It will show your script.

I hope it will solve your issue.

Regards

Piyush