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     [Solved] Maintain HTML Table set value of cell when another cell is modifiec

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Maintain HTML Table set value of cell when another cell is modifiec
 Login/Join
 
Gold member
posted
Good morning,

I am using 7.7.03. I have an HTML table on a maintain winform. The form has a check box in column 2. If the user makes changes to columns 5, 6, 7 or 8, I need to set the check box to checked using javascript. I have searched everything I can think of. Does anyone have any suggestion.
Thank you, Deana

This message has been edited. Last edited by: Deana,


WebFOCUS 7.6.8 and 7.7.03; Windows Server 2003 R2 and Windows Server 2008 R2, respectively; Development environments - Windows Server 2003 R2 and Windows 7 Professional, respectively;
excel, html, pdf
 
Posts: 89 | Registered: March 19, 2011Report This Post
Virtuoso
posted Hide Post
Normally below should work

MyCtrlField0.checked = true;

MyCtrlField should be your control name


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Gold member
posted Hide Post
Martin, You are correct.

I have set the checkbox value for checkboxes on the form in the past, but not within an table. I initially copied the logic from my other code, but it did not work. Apparently I had a syntax error I could not see this morning. Using the following code works allows me to pass the name of the checkbox control to my js function so it works for each row.

function setChecked(strControlName) {
var objCheck = document.getElementById(strControlName);
objCheck.checked=true;
}

strColumnName = ColumnName|rowindex;

Thank you for you help. I appreciate it.

Deana


WebFOCUS 7.6.8 and 7.7.03; Windows Server 2003 R2 and Windows Server 2008 R2, respectively; Development environments - Windows Server 2003 R2 and Windows 7 Professional, respectively;
excel, html, pdf
 
Posts: 89 | Registered: March 19, 2011Report 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     [Solved] Maintain HTML Table set value of cell when another cell is modifiec

Copyright © 1996-2020 Information Builders