You need to sign in to do that
Don't have an account?

Custom validation in Visualforce Page on Edit button
Hi,
I have created visualforce page with standard object (account). my question is whenever i click the edit button on detail page i want to disabled some required field and user can't edit those field.
pls help me out.
I have created visualforce page with standard object (account). my question is whenever i click the edit button on detail page i want to disabled some required field and user can't edit those field.
pls help me out.
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_outputText.htm
Actually i am using some input field on VF page i.e. <apex:inputText id="acc" value="{!account.Name}" title="Name" />
User create new record but can't edit. VF page link to edit button. whenever user click edit button this field showing read-only mode or disabled.
Try this code.
This validation working on click event but i want to working with page load event. when user click edit button open override VF page. this validtion perform page load time.