You need to sign in to do that
Don't have an account?
s_foo
How to disable InputField
Hi,
I have scenario where i want to disable the inputField onload.
<apex:inputField id="sdate" value="{!inputStartDate.Date__c}">
The value for input field is date. Is there a way to do this?
Thanx
S
Hi,
I tried this solution but my problem is, i have to change the date on the basis of the SelectList on the same page and there is no rerender associated with SelectList, so how do I toggle between inputfield and outputfield without refreshing the page?
Thanx
S
You access the value of selectList by calling the value attribute. So if you have <apex:selectList value="{!myValue}"> then in your controller, you can call the same getMyValue() method that your page is calling.
Char : 5
Error : Object Required
Code : 0
Try following changes
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
It works for me