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



May 12, 2011, 5:12 PM
1 Posts

Setting HTML field attributes from SSJS

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role:
  • Tags:
  • Replies: 1
Looking for a way to set a field attribute that I created (ex. reqFlag) in SSJS.  I really don't want to have to pass anything through to set it in CSJS.  Any ideas?
May 13, 2011, 8:16 AM
33 Posts
Re: Setting HTML field attributes from SSJS
I'm not sure what you mean by html field attribute but if you want to set for example style att on a div element you can do it this way:
 
<div style="#{javascript: return 'border: 1px solid black;'}"> </div>

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