RE:[peopletools-l] disable radio button using PeopleCode

Reply from DeniseWhite on Jul 28 at 7:17 PM
Disclaimer: I don't currently have access to a system, so I'm not sure exactly what this is called, and I also am not sure this would work, since I've never tried this. Hopefully someone else will be able to be more specific once I suggest this. When you bring up the record field properties, the last tab allows you to assign a name to the particular page control. I think that if you assign a name to the specific radio button that you want to disable/enable, you may be able to use that name in your PeopleCode to disable only that one button.

---------------Original Message---------------
From: rrrProgrammer
Sent: Friday, July 27, 2012 3:59 PM
Subject: disable radio button using PeopleCode

I have 2 radio buttons on the page using the same field. (e.g PER_ORG)
PER_ORG field has 2 translate values (EMP, CWR)
RECORD1 table contains PER_ORG field.

1st radio button on the page is for EMP
2nd radio button on the page is for CWR.

depending on the OPRID'S Role, how do I disable the 1st radio button?
when I use the code below, it disable both radio buttons

RECORD1.PER_ORG.ENABLED=FALSE;

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
DeniseWhite  
Sr. Application Developer
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

No comments:

Post a Comment