Created
September 16, 2022 20:06
-
-
Save acoyfellow/1b00d8849113c868299029e8a4aecea8 to your computer and use it in GitHub Desktop.
Add URL parameters into formData
This file contains 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> | |
window.beforePost= function(){ | |
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