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

Save override in Extension not working
So I am trying to override the save function in my extension class to avoid some of the required field validation. These are not required fields in the custom object, they are required in the VisualForce page with the attribute required=true in the apex tag.
I currently have a method which is doing NO saving, yet save() in the standard controller is still obviously being called because i am getting errors about required fields. Literally, the method is all commented out and no save or anything else is explicitly being called.
Do I need to just name the method something else and not technically override it? Attach the new method to my VisualForce button?
Currently I am using public PageReference save() as my overriding function. Is there some sort of implicit super() being called? I thought you needed to explicitly call the stdcontroller.save() for that to happen.
Thanks!
Sara
Thanks!
sara