To change data input values default to uppercase upon entry in a Parameter Form field:
Choose ToolsParameter Form Builder.
In the Parameter Form Builder, create a Parameter Form field called PF_DESFORMAT
,
with a source of DESFORMAT
.
Choose ToolsProperty Inspector.
In the Property Inspector, under Web Settings,
set the Additional Attributes (HTML) property to:
onChange="this.value=this.value.toUpperCase()"
This example specifies that data input values default to uppercase upon entry in a Parameter Form field.
In the Paper Parameter Form view, create a Parameter Form field called PF_DESTYPE.
Double-click the field object to display the Property Inspector:
Under Parameter Form Field, set the Source property to DESFORMAT.
Under Web Settings, set the Additional Attributes (HTML) property to the following JavaScript event handler:
onChange="this.value=this.value.toUpperCase()"
At runtime, if the end user enters pdf
as the destination format, the value will change to uppercase (that is, PDF) in
the Runtime Parameter Form when running the report through the Web.
About Parameter Form HTML extensions
About Parameter Forms for Web reports
About Parameter Form HTML extensions
Creating HTML Parameter Form input or select events
Copyright © 1984, 2005, Oracle. All rights reserved.