Hello,
I have an email form for error page. There are name, email and comment field in page. The email works perfect and send values by email.
I need to have 2 more fields which are hidden and report the broken link/unvalid url in our site and Ref URL the website which has link to this broken link.
Could you please let me know what is the best approach to add these 2 hidden field. I have created hidden fields, but I am not sure how to get those information in my email.
Frankly, where should I put my javascript for those fields:
<script type="text/javascript">
document.errorform.BrokenLink.value = window.location.href;
document.errorform.RefURL.value = document.referrer;
</script>
Thanks