I have created a custom submit controller implementing DataSubmitController. Now, i have requirement to show a different custom success message on a condition. which means now i have 2 submit messages and depending on the condition appropriate one should be shown. hw this can be achieved? Any help would be appreciated.
We have a handly JS events for Episerver.Forms, please check out it here: https://world.episerver.com/documentation/developer-guides/forms/handling-events-for-forms/