This is a simple but effective tip and not many people know this.
Sometime we want to break the caption of a button in two lines because the caption is too long or change the color of the text of button. There is really simple way for you to accompish this. You just need to know simple HTML tags.
Break text in two lines
In this example I will be changing the caption of button named WebNewTitle on Opportunity List Applet.
- Query for Opportunity List Applet
- Go to Control object under Applet Object
- Select the control named “Web New Title”
- In the Caption – String Override Field enter the text given below
Go to </ br>Oppty Details
The result will be as following
![]()
Change color of button text
In this example I will change the color of text of button we just modified in the above example
In the Caption – String Override Field enter the text given below
<font color=’blue’ > Go To <br> Oppty Details </font>
This will result in text of button coming in two lines and also the color of the text of button will be blue as shown below.
![]()
You can experiment to see what all html tags you can use in the caption to make your application jazzier

(3 votes, average: 4.33 out of 5)
6 Comments at "Formatting button text in Siebel"
Better to put it in a Symbolic String, no ?
that’s nice, but people should not abuse of HTML anyway.
the CSS files are there for formatting the application layout.
Hi,
How can man change button(or some other control) width? I found that HTML Width attribute works only for thin client, not for web client (like locally through Tools). Is that correct?
And hidden Width attribute did not work too.
Thx in advance
If we are making any field required in BC level,then the control’s caption based on the field is being showed in alert msg if we not provoding any data for the field. For ex,we made ‘Go To’field as required in BC and ” Go To ” is present in the caption of the control, then if we aren’t providing any data for the field, then it is saying ” Go To is a required field” instead of saying “Go To is a required field”..How to overcome this problem neel? Thanks in advance for ur help
in the above comment i typed,html tags are not shown in the post though i typed them. The tag was ?font color=’blue’? Go To ?/font?.
Use ” inplace of ‘?’ accordingly. The alert msg should come as ‘Go To is a required Field’ instead of “‘?font color=’blue’? Go To ?/font?’ is a required field”
Hi,
How we can change the Field Name in bold letters.
Example: I have Account Name field in Form Applet and i want the Account Name in Bold letters.
Comment Now!