cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting ADOBE forms dynamically

Former Member
0 Kudos

I am creating a pricing letter in ADOBE forms which will be called through an ABAP program. I want to change formatting of some of the fields dynamically on the basis of fields values. e,g. If I want to change Font size or color of the fields on the basis of field value how can I do this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Place the following code in the Initialize event:

If ($record.fieldname == value ) then

$.font.size = "12pt"

$.font.fill.color.value = "red,green,blue"

Endif

Former Member
0 Kudos

Thanks Daryl,

You solved my problem, can u tell me which language is it and from where can I get this document, I mean event sequence, objects properties etc. Is there a way to debug PDF?

Once again thanks for your help.

Former Member
0 Kudos

Hi Daryl ,

Can u please help me with the ADOBEFORMS material.

My email id is rosepreethi.p@gmail.com

Hope you would help me.

Thanks in advance.

Regards

rose

Former Member
0 Kudos

The example I gave you above is FormCalc scipting. As far as documentation, I am not aware of a any site that has the events and properties documented. I, like yourself, had a difficult time figuring out the syntax for dynamically changing properties. I have a training class book that I got from one of my colleagues which has helped some. AdobeForms does not have a debugging tool as far as I know. I will be happy to help you out if I can but I am by no means an expert.

Answers (0)