This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jul 4, 2013, 8:51 AM
30 Posts
topic has been resolvedResolved

Computed visibility based on Form name

  • Category: Server Side JavaScript
  • Platform: Mobile
  • Release: 8.5.3
  • Role:
  • Tags:
  • Replies: 1

Hello,

I have a problem hiding  page element (xe:djxmRoundRectList).

I want to hide it based on form name of the document I'm opening (these are documents from folder, not view, so there are multiple underlying forms).

document1.Form in computed field displays just fine: FPred (name of 1 of the forms).

This dynamicly computed visible property on same page, unfortunately doesn't work:

 

if (document1.Form === "FPred")
{return true};

 

Any suggestions?

Jul 4, 2013, 9:38 AM
30 Posts
solved

Menaged to slove it using this code:

 

var FPredVis = document1.getForm();
if (FPredVis == "FPred") {
    return true};


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal