cancel
Showing results for 
Search instead for 
Did you mean: 

Form is not interactive!

Former Member
0 Kudos

Hi,

I've created a form using Lifecycle Designer 8.0 (I am also using Adobe Acrobat 8.1 Prof.).

The problem is that my form is not interactive.

To test this, I added a button and added the following code to the "click" event:

----- data.MasterPages.Page1.HeaderData.Button1::click: - (JavaScript, client) ---------------------

xfa.host.messageBox("Test");
this.presence = "hidden";
xfa.layout.relayout();

The message box appears if I click the button, but it doesn't disappear.

In preview within form builder everything works fine!

The form properties are as followed:

Preview:

Preview type: Interactive

XDP preview format: Acrobat 8 (Dynamic XML form)

Server:

(X) Override default rendering

PDF render format: Acrobat 8 (Dynamic XML form)

It seems that all javascript statements where I change the layout (set presenve attribut to hidden or remove instances of subforms) are not working. But it works for other interactive sample forms that I downloaded...

Can anybody help?

THANKS!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I just created a WebDynpro JAVA application where i embedded a interactive form. The application is running fine, the form is displayed. Unfortunately I am facing a similar problem like it has been described in this thread: (the interactive fom is only interactive, when displayed in preview mode, the moment i display the form when running my application, it loses it's interactivity)

Unfortunately, I do not know where to set those values in a WD JAVA application. Can anybody help? What would be the settings to display the form in interactive mode? Where to do that?

Please keep in my mind:

my current settings are:

Preview:

Preview type: Interactive

XDP preview format: Acrobat 8 (Dynamic XML form)

Server:

(X) Override default rendering

PDF render format: Acrobat 8 (Dynamic XML form)

I am using Lifecycle Designer 8

and NWDS 7 SP 14

Former Member
0 Kudos

Ok, I found the reason (after two days of frustration):

When calling the function module to display the form, I forgot to set a flag for the value "dynamic" in the structure "docparams":

docparams-langu    = 'E'.
docparams-country  = 'US'.
docparams-fillable = 'X'.
docparams-dynamic  = 'X'.

CALL FUNCTION ls_function
    EXPORTING
      /1bcdwb/docparams = docparams
* ...
    EXCEPTIONS
      usage_error       = 1
      system_error      = 2
      internal_error    = 3
      OTHERS            = 4.

  IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

Don't forget!

Otherwise your scripting won't work correctly...

Regards,

Eddie.

Former Member
0 Kudos

Hi

cheek the below form properties.

Got to File>Form Properties->default ->XDP preview formate> this vale should be a Dynamic PDF.

Regards

Malli...

Edited by: mallikarjuna pasupulati on Apr 24, 2008 2:53 PM

Former Member
0 Kudos

As I've written above, that setting is already done...