Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

Redirect url from controller using javascript.

Vote:
 

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

#194430
Jun 21, 2018 8:56
Vote:
 

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.

#194480
Jun 22, 2018 8:54
Vote:
 

Thanks Dac.

#194548
Jun 25, 2018 12:50
Vote:
 

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.

#194550
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.