Dirk-HohenbergerDirk-Hohenberger
Dirk-Hohenberger
Feb 13, 2024

Q: Hello, I want to insert the URL or the website's title in a hidden field in my form.

Unfortunately, this did not work with my custom code. Here is my code:
<script type="text/javascript">
window.onload=function(){document.getElementById('my_field_id').value = location.href;}
</script>
Maybe I don't have the right field ID?
I sent you an email, I asked over the chat and I will try the Appsumo question, now.
Thank you very much for your help.
Bye

Share
Helpful?
2
Log in to join the conversation