Skip to content

Instantly share code, notes, and snippets.

@acoyfellow
Created December 3, 2021 20:52
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/e6bf1f0ecb08c34838837516f194855c to your computer and use it in GitHub Desktop.
Save acoyfellow/e6bf1f0ecb08c34838837516f194855c to your computer and use it in GitHub Desktop.
Phonesites Script: Add URL variables into form data
<script>
function beforePost(){
window.params.forEach(function (param) {
formData[param.key]= param.val;
});
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment