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

Javascript code disappears after activating the form

Former Member
0 Likes
4,883

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

Hi all,

I do have the same problem as Frozen Monkey. It is nothing about forgetting to be in edit mode. After activation the code dissappears. Note that it still works: When I for example put an object to presence = hidden dynamically in the code (depending on the value of a checkbox),  the code will still work. But there will be no code visible in the editor. I would for example select "events with scripts" of the corrsponding object and it will show nothing. I would go to the specific event (for example "initialize") and it will show nothing. I even go through all the events when I select the rood node and I still would not find it.

Has anyone else except Frozen Monkey and me encoutered this?

Felix

Piyushmatrixs
Participant
0 Likes

Hi Felix,

1.  Open your form in edit mode.

2. select the object (i.e. subform or textbox whatever it is) at which you wrote the script.

3. Click on drop-down of script-editor, find event which you had selected and written code under it. It would be marked with    " * ", select this. I am sure you will get your script.

Regards

Piyush