• dany
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,
 
I am trying to set up an S-control to over-ride the "New" Lead button so that it will auto populate the Company field with a predetermined value (in this case with current time/date).  This is the latest attempt but I just can not get the value to be inserted.  Any help would be much appreciated.
 
<html>
<head>
<script src="/soap/ajax/9.0/connection.js"></script>
<script language="Javascript">
function replace()
{
parent.document.location.href= "/00Q/e?nooverride=1{!Lead.Compant}={!NOW()}";
}
</script>
</head>
<body onload="replace()">
</body>
</html>
 
Thanks,
 
DjBell
  • February 25, 2008
  • Like
  • 0