Try our conversational search powered by Generative AI!

Redirect url from controller using javascript.


I have called controller from Forms and it seems to  a javascript call. Now I need to redirect to an external Url. 

Jun 21, 2018 8:56

You can extend and replace DataSubmissionService by your own class and on the method PerformDataSubmit you just call to base then modify the redirectUrl before send to browser. It will help you redirect to an external URL.

Jun 22, 2018 8:54

Thanks Dac.

Jun 25, 2018 12:50

After facing this problema and troubleshooting , I used formsubmission events to handle the forms and i used controller of a receipt page which is to be redirected after formsubmission to rediredt to a new url.

Jun 25, 2018 12:58
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.