Skip to content

Instantly share code, notes, and snippets.

@acoyfellow
Created March 9, 2021 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acoyfellow/ef53ad23445f33dd1e11d93a17fd295a to your computer and use it in GitHub Desktop.
Save acoyfellow/ef53ad23445f33dd1e11d93a17fd295a to your computer and use it in GitHub Desktop.
Redirect based on Choice (PhoneSites.com)
<script>
window.success= function(){
if(formData.url==='A'){
redirect= "https://google.com";
}else if(formData.url==='B'){
redirect= "https://phonesites.com";
}else if(formData.url==='C'){
redirect= "https://yahoo.com";
};
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment