Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all articles
Browse latest Browse all 16286

Js Script or FormCalc scripting is not appearing in Script editor

$
0
0

Hello Experts,

 

I am facing issue where upon when i write a Js Script or FormCalc script - it is disappearing when I save & activate the form.  The scripts are seen in the XML Source tab, but not in the script editor...as a result i am not able to modify anything, as they are displayed in the editor at all...

 

Find below the example...

 

1) Step 1 - I created the below testing script on click of a button and it was displayed and the moment I saved and activate it disappeared from the script editor...same thing happened many times...

data.#subform[0].ZggTestWsBtn::click - (FormCalc, client)

       xfa.host.messageBox ("Hello from FormCalc");

 

2) But when i go to the XML source, i am able to see all the scripts and the previous ones as well...

 

    </script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript" runAt="both">

  ///test ///test

</script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript">

  app.alert("test");

</script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript">

//test

</script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript">

xfa.host.messageBox("Hello Button Clicked");

</script>

            </event>

            <event activity="click" name="event__click">

               <script contentType="application/x-javascript">

xfa.host.messageBox("Hello Pressed the button ");

</script>

            </event>

            <event activity="click" name="event__click">

               <script>

xfa.host.messageBox ("Hello from FormCalc");

</script

 

Can you please help me to find out the issue? this is making development a pain as we are not able to edit any existing script or create new ones... Please help...

 

We are using AdobeLiveCycle designer 9.8 version. Thanks

 

Ganu


Viewing all articles
Browse latest Browse all 16286

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>