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     WebFocus Producing an HTML form for input

Read-Only Read-Only Topic
Go
Search
Notify
Tools
WebFocus Producing an HTML form for input
 Login/Join
 
<DougTrev>
posted
I have a fex that creates recursive form that users iterate through trying calculations until they get it right. My challenge is allowing the users to enter an override (CHECKBOX)in column that would exclude a row here and there:

example of default form

Item Quant Exclude
abc 500 N
xyz 100 N
total 600
<RE-CALC> <PRINT>

User Decides to exclude abc using checkbox
Item Quant Exclude
abc 500 Y
xyz 100 N
total 600
<RE-CALC> <PRINT>

Item Quant Exclude
abc 0 Y
xyz 100 N
total 100
<RE-CALC><PRINT>

Seems simple, I can get the default form to work, but I don't know how to capture the user input as they exclude records. Getting desperate - any ideas? Thanks!
 
Report This Post
<WFUser>
posted
I'm not sure I really understand what you're trying to do. If you're producing a form via -HTMLFORM with a checkbox and then redisplaying that form, and you are trying to keep checked boxes checked after you redisplay, then you can do something like this.

-DEFAULT CHKBOX=' '
-SET &CHECKED = IF &CHKBOX EQ 'Y' THEN 'CHECKED' ELSE ' ';

<rest of code>
-HTMLFORM MYFORM

Where the form contains:

<input type="checkbox" name="C1" value="Y" !IBI.AMP.CHECKED;>

If the value came back to your fex as being checked, the &CHECKED variable will contain the string CHECKED or else it will be blank. The CHECKED value will populate in the form.

If I'm way off base, please clarify what it is you need to do.
 
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     WebFocus Producing an HTML form for input

Copyright © 1996-2020 Information Builders