When Users click Submit in an Online Customer Form, will be Redirected to a URL in a New Browser Window:
1. Create a Javascript file with the following code:
function saveRecord()
{
window.open('http://www.google.com');
return true;
}
2. Make certain to use the desired URL to be redirected to in Step1
Example of "Redirect URL": ('http://www.google.com' or 'http://shopping.netsuite.com/.....').
3. Navigate to Setup > Marketing > Online Customer Forms. Locate customer form and click Edit.
4. Go to the Custom Code tab and upload the Javascript file you created in the Script File field.
5. For the "Save Record Function" field, type the name of the function you created in step 1 (saveRecord).
6. Click Save.
No comments:
Post a Comment