danielo.developer
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by danielo.developer
-
-
I have two fields I want to combine into one field. One field is a label, and the other is a free form field. For example:
PO: 123&ABC
With "PO:" being the label and "123&ABC" being the free form section. I would like for the label to be bold and the free form to not be bold and I want these both with a single text field. For example, $F{LABEL1}+" "+$F{FREE_FORM1}.
I have tried using the markup of html; however, when an end user types in an & or % in the free form field it causes the markup to be ignored and instead of seeing:
PO: 123&ABC you see <b>PO</b> 123&ABC
Is there a way to accomplish what I'm asking with Jasper Studio w/out having to split up the two fields into two different text fields?
Apply bold to only part of a string within a text field that contains two fields.
in Developers and API
Posted
Never mind. I've answered my own question. If you have the field set to "Styled" it does not work, but if you set it to use html markup (which is what I thought I had it set) it does work.