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



Apr 8, 2011, 1:55 PM
66 Posts

Deleting Repeats

  • Category: Other
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: Repeat Control
  • Replies: 1
I am using a Repeat Control for repeating controls (edit boxes, etc.), not a view. What I am wanting to do is put a delete button/link on each repeat instance that allows a user to delete that repeat.

I noticed that Repeat Controls have a "Collection name" and "Index name" property. Would I be able to use these properties in a JavaScript onclick event to accomplish this?
Apr 11, 2011, 7:10 AM
21 Posts
Re: Deleting Repeats
The easiest way would be to code the button to set the style on that repeat to visibility:none.
 
Or did you need something that would continue to be non-displayed after a page refresh?

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