Add this script to the page *after* the form field you want to initialize.
<script>
if (document.forms[0].T1.value == "")
{
document.forms[0].T1.value = document.location;
}
</script>
Then, change T1 to the name of your form field.
Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*-----------------------------Â-----------------------
|\----------------------------Â-----------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||----------------------------Â-----------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/----------------------------Â-----------------------
*-----------------------------Â-----------------------