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     [CLOSED] Show _FOC_NULL value when the edit box is blank

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Show _FOC_NULL value when the edit box is blank
 Login/Join
 
Gold member
posted
I am trying to show _FOC_NULL value when the edit box is blank. I put the below code on onclick button. it works when i click the button twice.
i appreciate your help, if i am missing anything in the below code.
 
//Begin function button1_onclick
function button1_onclick(event) {
var eventObject = event ? event : window.event;
var ctrl = eventObject.target ? eventObject.target : eventObject.srcElement;
var mystring = document.getElementById('edit1').value;
     if(!mystring.match(/\S/)) {
        document.getElementById('edit1').value = '_FOC_NULL' ;
        document.getElementById('combobox1').value = '_FOC_NULL' ;
          }
else {
 return true; }
}
//End function button1_onclick
 

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 73 | Registered: April 06, 2016Report This Post
Virtuoso
posted Hide Post
v_ani

I am a bit confused by this post, _FOC_NULL will never have a value hence the word NULL..


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report 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     [CLOSED] Show _FOC_NULL value when the edit box is blank

Copyright © 1996-2020 Information Builders