• StrangeLooper
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I haven't done much with custom S-Controls, so if someone is willing to provide some example code for how to do this, I'd really appreciate it.

 

Basically, I'm running into the issue outlined in the thread Time-Based Workflow Rules on Leads Preventing Lead Conversion --  so I want to create a button override that sets a variable (ConvertMe = true), then converts the lead as usual.

 

How would I do this?

 

I can get a custom button to convert a lead when I use this simple HTML code:

 

/lead/leadconvert.jsp?retURL=/{!Lead.Id}&id={!Lead.Id}

 

But how do I first set the variable? I've tried a number of different functions and OnClick JavaScripts I've found in these discussion boards, but haven't had any luck yet.

 

Any suggestions? It doesn't seem like this should be that complicated, but I'm obviously missing something. :)

 

Thanks!

  • January 28, 2009
  • Like
  • 0