we want to redirect user to a particular page after submittng the catalog form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-17-2023 12:23 AM
hi we have a requirement to redirect user to another page but now after submission it is redirecting to the req item page , please help me to achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-17-2023 12:39 AM
@Amit Dey You need to create "Page Route Map" for this.
You can select "Route From" req item page and "Route to" to the page you want.
You can achieve this without any code change.
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-17-2023 12:54 AM
Hi @Amit Dey ,
To redirect the user to another page after submitting a form, you can use the redirect method in the server-side script that is processing the form submission. Here's an example of how you can redirect the user to a different page:
var redirectUrl = "https://example.com/another-page";
gs.redirect(redirectUrl);
Regards,
Shravan
Shravan
Please mark this as helpful and correct answer, if this helps you