Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     a text has to be in Upper case for alpha numeric format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
a text has to be in Upper case for alpha numeric format
 Login/Join
 
Gold member
posted
IT's sounds easy, but I need to know ascii code or something simple to have UPPER case data ONLY in a field when a user enters the data in lower case (alpha- numeric).
What type of code I need to add in my HTM script?

Thanks


Valeriya

WebFOCUS 764 Servlet - MRE/Dashboard/Self Service/ReportCaster - Windows 2000
 
Posts: 68 | Location: Chicago | Registered: August 23, 2007Report This Post
Expert
posted Hide Post
There are many ways to take care of this - here's one:

In your form, for the text field that must be upper case, you could add an onMouseOut event handler:

<input type="text" name="test" onMouseOut="this.value=this.value.toUpperCase();">

By the way, as per this posting, Friendly reminder: Please update your signatures, would you please update your signature?

Thanks,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
If your concern is that the field you are selecting on is in uppercase, you might want to consider handling it in your report selection processing, There is an UPCASE function you can use in conjunction with dialog manager, which the DM experst may have an example at their fingertips.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
quote:

thanks, My signiture has been updated since last week


Valeriya

WebFOCUS 764 Servlet - MRE/Dashboard/Self Service/ReportCaster - Windows 2000
 
Posts: 68 | Location: Chicago | Registered: August 23, 2007Report This Post
Expert
posted Hide Post
-DEFAULT &TEST = 'this is a test';
-SET &TEST = UPCASE(&TEST.LENGTH, &TEST, 'A&TEST.LENGTH');
-TYPE &TEST


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
Francis ,
This worked well tHANKS A LOT!

onMouseOut="this.value=this.value.toUpperCase();"


Valeriya

WebFOCUS 764 Servlet - MRE/Dashboard/Self Service/ReportCaster - Windows 2000
 
Posts: 68 | Location: Chicago | Registered: August 23, 2007Report This Post
Expert
posted Hide Post
That's great Lera.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Lera,

Your signature does not appear to be updated. We still don't know what version of WebFOCUS you are running on what platforms against which databases.

This info is very helpful when trying to diagnose problems.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
<SomeUsr>
posted
onMouseOut="this.value=this.value.toUpperCase();"


You can also use the same code with many different JavaScript hook points... onBlur, onKeyPress, onKeyDown, onSubmit, etc. Depending if you want to rely on mouse movements, keyboard events, focus changes, etc.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     a text has to be in Upper case for alpha numeric format

Copyright © 1996-2020 Information Builders