Wednesday, February 08, 2012     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: Toggling form fields "editable" from cyclic list and radio button
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
micheleq
Posts: 10
Online: User is Offline
9/05/2006 2:25 AM  
I have created a form that has a cyclic list a radio button (or boolean, it doesn't matter) and several float fields. For instance I have var1 float_field11 float field12 var2 float_field21 float field22 ... I would like to 1) change the editable property of each float_fieldx1 depending on the value of the cyclic list 2) change the editable property of each float_fieldx2 depending on the value of the corresponding float_fieldx1 and the value of the radio button (all disable if radio os on "Off" position. I managed to implement 1) but I'm having trouble in getting 2) to work. As of now I'm using two different callbacks for the cyclic fields and the radio button. It lookd like my code works fine when the cyclic list has few elements, however, when the list grows up it doesn't refresh the fields anymore. Any help is very appreciated. Michele

Attachment: exInt.il

adbeckett
Posts: 248
Online: User is Offline
9/05/2006 5:49 AM  
The code appeared to have a couple of (what I assume were) mistakes. In the function exUpdateFloatFields it seemed to be leaving the cyc11stFloatField enabled when cyc3 and cyc4 were chosen - which I assume was not what you wanted. I've modifed that and uploaded - but I'm not sure if that was what you were complaining about?

You could almost certainly write the code to figure out the field names to enable/disable from the cyclic value, which would avoid the big case statement, but I don't think that's what you were asking - I'm assuming you're expecting just one of the four sets of float fields to be enabled at once - if so, that was the coding error which I corrected in the attachment.

Andrew.


Attachment: exInt.il

micheleq
Posts: 10
Online: User is Offline
9/05/2006 6:00 AM  
Hi Andrew, thanks for your reply. However, I put multiple activation at once on purpose. I now solved the issue by using hiUpdateFormBlock(form) inside the exUpdateFormFields. I found that in the regular documentation. Thanks, Michele
Posting to forums is available to community members only.
Login or Register

Forums > Custom IC > Shared code - SKILL > Toggling form fields "editable" from cyclic list and radio button


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.