You need to sign in to do that
Don't have an account?
cyrilver
Prompt message before save
Hi,
I need to control something before saving a record.
If this control is false, I need to prompt a message to the user to ask him if he wants to continue the save operation.
I know that I can't do that with trigger so I have developed a VisualForce page/Apex Controller but I can't override the standard "Save" button.
Any idea ?
Regards,
Cyril
You don't override the save button - you override the new/edit/clone etc buttons so that the user ends up on your page, and thus you have control when the record is saved.
Thank you for this answer. I understand but in this case i can't use "inline" editing, no ?
Regards,
Cyril
That's the trade off I've encountered, yes.
Yes and in this case you need to create a visualforce page with all the record field and to maintain it, just for a control.
I will try to find another solution.
Best regards,
Cyril