You need to sign in to do that
Don't have an account?
ScottPJ
Dynamically setting fields to be Read-Only in a Visualforce page using a Custom Controller
I would ike to dynamically set fields to be read-only (based on another field value) in a Visualforce page using a Custom Controller.
Does anyone have any ideas on how to do this?
Hi...
Use 'disabled' attribute with ur component..
<apex:inputtext value="{!inp1}" disabled="{!flag}"/>
<apex:inputtext value="{!inp2}" >
<apex:actionsupport event="onchange" action="{!settingflag}"/>
</apex:inputtext>
In ur controller set ur flag value
Hi,
Do you know if this works for a <apex:inputField component?
This property (Disabled) is not an attribute of the <apex:inputField component>. Does anybody have any idea on how to make fields read-only during run-time?
Hi..
Convert inputfiled into inputtext..
Hi,
How do you covert a PickList or Lookup to a InputText (from a InputField) and still retain the functionality? Does anyone have any examples?
Thanks.