Re: [Catalyst] Changing Formhandler field-type/widget based on Catalyst user-role

2012-05-24 Thread Denny
On Wed, 2012-05-23 at 23:24 -0500, will trillich wrote: Short version: How can we toggle field X from being a Select (popup) for Admin users, to being a Hidden (nothing visible, but the value is maintained) for Manager users? Short answer; don't. If you're maintaining the value for users who

Re: [Catalyst] Changing Formhandler field-type/widget based on Catalyst user-role

2012-05-24 Thread will trillich
Hmm. Still puzzled as to what solution might work with that approach. Maybe changing-field-type is philosophically questionable, but the mechanism still looks like it should work. :) But didn't. So we're off to try more FormHandler magic from a different angle (not catalyst-affected, so we're

[Catalyst] Changing Formhandler field-type/widget based on Catalyst user-role

2012-05-23 Thread will trillich
Short version: How can we toggle field X from being a Select (popup) for Admin users, to being a Hidden (nothing visible, but the value is maintained) for Manager users? Long version: We have three levels of user-roles (*admins* can do everything, *managers*can do a lot, *readonly* can do very