To redirect users from an old public form, to a new one:
- Open the Public Form in the Form Customizer
- Advanced Options
- Header Footer HTML
- Enter the following into the Header HTML, and replace the Your-Redirect-URL with your actual URL: <% Response.Redirect("Your-Redirect-URL"); %>
NOTE: The basic html tags must remain in the HTML Header and Footer.
Example:
For Header HTML:
<% Response.Redirect("https://agencyname.mysamdb.com/newSAMformtitle.aspx"); %>
<html>
<head runat="server" >
</head>
<body>
For Footer HTML:
</body>
</html>
Now whenever a user attempts to access the old form, it will immediately redirect you to the new URL. Your Redirect URL can be any URL, it doesn't have to be a form in SAM.
Troubleshooting
If you get an error message instead of being redirected, then it most likely means that you have messed up the code. Start over, and make sure that you have your URL surrounded by quotes.
Disabled Forms
Forms that are not Enabled will still redirect, instead of showing the "Form Disabled Error Message".
Comments
0 comments
Please sign in to leave a comment.