Hey guys look at my scenario I have a stages(picklist field) in custom object. Requirement is i have to enable my save button only when the stage is 'completed' if the stage is other than 'completed' then only save&new button should be active, how to achieve this.
Best Answer
In your Controller you can create a property that indicates if the picklist should be enabled.
Then, in your Visualforce page you bind this to your commandButtons disabled property.