function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Unable to stop the execution of oncomplete when apex page has error messages

Hi ,


Unable to stop execution of oncomplete on click of a command button even if APexpages has error messages. Still Oncomplete is getting executed and its running in a different context (I guess) and the error messages are gone and also unable to stop the execution of the functionality using any conditions as its running in a different context ( I guess). Please let me know how can I stop oncomplete from getting executed when we have error messages.



Stanley SequeiraStanley Sequeira
i'm so looking out for this solution. Did someone figure this out ?