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.
Does anyone have anything that checks the input values of a Text Box which ensures that the user has not selects an "ALL" condition? This needs to cover all possibilities, including all possible combinations of wildcard characters which equate to and "ALL" condition. For simplicity, consider a text box with a limitation of 4 characters feeding the variable: &TextInput1. With that in mind, the value of &TextInput1 may be: "ALL", "$", "$$", "$$$", or "$$$$", as well as combined use of other wildcard characters.
-SET &ALL_CHECK = IF UPCASE(&TextInput1.LENGTH,&TextInput1,'A.&TextInput1.LENGTH.EVAL') CONTAINS '$' OR '*' OR 'ALL' THEN 'Y' ELSE 'N';This message has been edited. Last edited by: Dan Satchell,
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Close... But, what I'm looking for is to capture all possibilities of all wildcards within the associated field. The only other suggestion was : "I would do it in JavaScript"... But that person doesn't have the JS to do it... JS is acceptable. I can call it as an onClick Event...
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I just don't want to "reinvent the wheel"... That's all... We do have to account for the percent sign, underscore, currency symbol, asterisk, escape sequence, to name a few / most of them. Not to mention that any number of percent signs, for instance, equate to a single percent sign, at least in Teradata SQL. Now, considering that there are many possibilities / combinations of these plus valid alphanumeric characters. With that in mind, I hope you can see why I don't want to reinvent this wheel ~ If, in fact, someone else has already done so.
So, any more suggestions from anyone? If not, I'll invent this wheel for further proliferation in the future.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Okay, I'm going to bite and ask. Why are you using a text box? Why not a drop down with a drill down, i.e., give them the alphabet, click on a letter, then give another layer of grouping so your list is not so big and keep drilling down until the list is an appropriate size to show in your html. Just a thought. Text boxes are sooooo dangerous. FCSD has a text box search and then you click on search icon for the dealer name.
Kathy Phillips Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03 Windows
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009
<html>
<head>
<script>
function checkIt()
{
var x = true;
var testValue = document.form1.textbox1;
if (testValue.value.indexOf("*") >= 0)
{
x = false;
alert("Quit being a character and stop using the '*' character.");
testValue.value = "";
}
return x;
}
</script>
</head>
<body>
<form name="form1" onSubmit="return checkIt();">
<input type="text" name="textbox1" value="*" />
<input type="submit" name="submit" value="Press Me" />
</form>
</body>
</html>
Originally posted by Lucas: Yes Doug I am, in fact I work just a couple of miles from it. Sad IMO that the only thing this little town is known for is a water tower...