on 09-12-2013 7:47 AM
Dear All,
We have a requirement as, while printing adobe form we need to switch the font family at runtime depending on a variable.
There is a variable field called BRAND_NAME. Based on the content of this variable we need to change the font family of all text fields.
We tried with few lines of jsp coding in the window but we were only able to change the font size not the font family.
Any help regarding this is apprecialted!!
Thanks in advance.
Regards,
Santhosini
Hi Santhosini,
Try using below script
if BRAND_NAME.rawValue = ' ' then
$.font.typeface = 'Verdana';
endif.
Thanks,
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosini,
To Achieve your requirement create two text modules and write FormCalc.
Eg:
Create two text modules. 1 and 2
Variable: BRAND_NAME
Write FormCalc as
If ($.xxxxx.BRAND_NAME == xxxxx) then
$.1 = "visible"
else
$.2 = "visible
endif
----
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.