on ‎2013 Aug 30 6:59 PM
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.
Request clarification before answering.
Is javascript editor disappearing or complete code? Can you please try by creating a simple form with only field and place simple script on that field like this.rawValue = '5' and see, if it still disappears.
--
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The javacode window is there, it has that one liner in it that tells which event I am coding for.
Any javascript statement would work, including the one you suggested (this.rawValue = '5') but it simply does not show up in the code part after I activate the form. The code works though, it will put '5' on the text box.
Hi Frozen Monkey,
Can you please check if you have put your Javascript in correspond event?
There is a event drop down for you edit each of the event behavior; I would advice do not use the all event as some times lifecycle designer will save your code to elsewhere ; select the event u want to fire the code and do your coding.
Another stupid mistake i always did is, i edit my code in display mode and yet i still can activate my code, ended up all my code gone.
Hope this helps.
regards,
Xiang Li
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.