Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Override redirect URL of Online Form?
For my online customer (lead) form, I'm trying to do a dynamic redirection to two different "thank you" pages, based on user input (a yes/no select).
There's a user event script deployed on the lead record which does some processing, which works fine. I used nlapiSetRedirectURL to redirect the form with a URL parameter (the yes/no mentioned above) to a suitelet which does the page redirection for me. I tried it both before and after submit, received no errors, but was not able to override the redirect URL set in the workflow tab of my online customer form.
0