Created
December 3, 2021 20:52
-
-
Save acoyfellow/e6bf1f0ecb08c34838837516f194855c to your computer and use it in GitHub Desktop.
Phonesites Script: Add URL variables into form data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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