3 Replies Latest reply on Apr 18, 2017 7:12 AM by Bernd Alheit

    JavaScript for summary text field.

    chrisl88047801

      Hi all,

       

      i previously designed a pdf in livecycle designer as part of acrobat 9. Now the company has upgraded to 11 and I've had to redo the form

       

      I previously had a radio button that would take all the values from all the fields and populate them in an empty text box that would then be copied and pasted as a summary. However I can't get the code working now and am after any help you may be able to offer.

      The code was

      F.P1.Button3::click - (JavaScript, client)

      DAHRTS.rawValue = "Callsign: " + Callsign.rawValue

       

      + "\nType: " + Type.rawValue

       

        + "\nDeparture Aerodrome: " + Departure.rawValue

       

         + "\nDestination Aerodrome: " + Dest.rawValue

       

          + "\nEntry Position: " + Entry_Posn.rawValue

       

           + "\n Time: " + Entry_Time.rawValue

       

            + "\n Level: " + Entry_Level.rawValue

       

             + "\n Track: " + Entry_Track.rawValue

       

              + "\nExit Position: " + Exit_Posn.rawValue

       

               + "\n Time: " + Exit_Time.rawValue

       

                + "\n Level: " + Exit_Level.rawValue

       

                 + "\nImpact (consequence): " + Impact.rawValue

       

                  + "\nSSR code: " + SSR.rawValue

       

                   + "\nHow VCA was detected: " + Detect.rawValue

       

                    + "\nReason for VCA if known: " + Reason.rawValue

       

                     + "\nFollow up actions: " + Follow_up.rawValue

       

                      + "\nPilot contact details: " + Pilot_details.rawValue

       

                       + "\nAirspace: " + DropDownList1.rawValue

       

                        + "\nOther: " + Other.rawValue

      F.P1.Button3::enter - (JavaScript, client)

       

      Dahrts was the name of the empty text box that the button would cause to populate.

       

      Any ideas?