cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic generation of PDF form

Former Member
0 Kudos

Hi everybody,

Is there any way to build PDF form in webdynpro dynamically? Means, Can we place elements in PDF form dynamically or can we enable or desable elements within PDF form dynamically?

If anybody knows then please help me.

Thanks in Advance.

Bhavik

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Pavan,

Can you please Explain me in detail? I don't know anything about that Java script in PDF. Where can i suppose to write the code for that?

Thanks in Advance,

Bhavik

Former Member
0 Kudos

Hi Bhavik,

What I would suggest to you is that you read the Designer documentation on Events and when each event is trigger. Now it is in these events that you can put up formcalc script or java script.

Lets say for example we have a requirement to hide a field in the pdf form. We would have also one record element, which tells us what mode.

The we might pick an event lets say formready. And place the following code

if($record.<field> == "HIDE" )

then

this.presence="invisible"

endif

I think for further information on this you can refer the form calc reference in the help.

Regards,

Pavan

Former Member
0 Kudos

Hi,

No i didn't get anything yet. If you knows then please tell me.

Regards,

Bhavik

Former Member
0 Kudos

Hi Bhavik,

If you are looking about hiding or enabling elements, on the PDF form then you could make use of the Formcalc or Java script on the form.

So you would include some record attributes that will help u decide the condition, to do this.

Regards,

Pavan

Former Member
0 Kudos

Hi Bhavik,

Did you get anywhere with this?

Cheers,

Vic