Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Partial default text in bold

Avatar

Level 3

I would like to only have a portion of my default text in bold. How do I go about doing this?

Thanks

2 Replies

Avatar

Level 10

Hi,

you need to edit the value of the field in the XML source.

1. Set your text field to rich text

2. Create a text onject with the default value you need as default text and make the portions bold you like.

3. Select the text and then change over to the XML source.

You will see the structure of the text object in a way like this:

4. Select and copy the whole content between the <value></value> tags

5. Now look for the text field in the XML source

It should look like:

6. Replace the existing data between the <value></value> tags with that you've copied before from the text object.

7. Change to the Design view and delete the text object (you don't need it any longer).

Avatar

Level 3

This text is inside a table row, not sure if that makes a difference as to how the xml source code should look:

The textfield is set to: rich text - Allow multiple lines

This text should be in bold: Selectee(s) will be made from the Contractor Employee of the <br/>Year Nominations.

This is what I have so far and of course is is not working

<value>

<exData contentType="text/html">

<body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><p>Recognizes contractor employees who have made a contribution that is substantially beyond that specified or implied within the terms of their contract.<span style="xfa-spacerun:yes">  </span><span> style="font-weight:bold"&gt;bold</span> Selectee(s) will be made from the Contractor Employee of the <br/>Year Nominations.<span style="xfa-spacerun:yes"> </span></p></body>

</exData>

</value>