Check boxes in BI Publisher (RTF) forms [message #465241] |
Tue, 13 July 2010 05:03 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
xs2jeff
Messages: 1 Registered: July 2010 Location: The Netherlands / Eindhov...
|
Junior Member |
|
|
Can anyone help me with the following problem.
I'm having problems including (conditional) checkboxes in a RTF-template.
The instruction given at
//dwh.one.gob.do:9704/xmlpserver/help/en_US/htmfiles/B25951_01/T421739T481157.htm#4535298
doesn't give me the solution I'm looking for.
thank you Jeff
|
|
|
Re: Check boxes in BI Publisher (RTF) forms [message #465848 is a reply to message #465241] |
Thu, 15 July 2010 13:49 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
skaundinya
Messages: 9 Registered: June 2010
|
Junior Member |
|
|
Hi,
Found the following steps from user guide:
Check Boxes
You can include a check box in your template that you can define to display as checked or unchecked based on a value from the incoming data.
To define a check box in your template:
1. Position the cursor in your template where you want the check box to display, and select the Check Box Form Field from the Forms tool bar (shown in the following figure).
2. Right-click the field to open the Check Box Form Field Options dialog.
3. Specify the Default value as either Checked or Not Checked.
4. In the Form Field Help Text dialog, enter the criteria for how the box should behave. This must be a boolean expression (that is, one that returns a true or false result).
For example, suppose your XML data contains an element called <population>. You want the check box to appear checked if the value of <population> is greater than 10,000. Enter the following in the help text field:
<?population>10000?>
Note that you do not have to construct an "if" statement. The expression is treated as an "if" statement
==========================================================
Some more steps collected :
In properties set the default value of checkbox and your code
<?condition?>
If xdo.cfg is not set correctly then you may see rhombus instead of square.
Enter following in the xdo.cfg file
font location
<font family="Wingdings" style="normal" weight="normal">
<truetype path="c:\windows\fonts\wingding.ttf"/>
</font>< br/>
glyph
<property name="rtf-checkbox-glyph">Wingdings;253;254</property>
=============================================================
Please let me know whether it solved your problem.
Regards,
skaundinya
|
|
|