use different custom submit message on form submission for a specific condition.

Vote:
 

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.

#248069
Feb 03, 2021 9:02
Vote:
 

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/ 

#248130
Feb 04, 2021 8:23
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.