function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vijaya Lakshmi 134Vijaya Lakshmi 134 

when i click on convert to lead button in contacts, contact get converted to lead and also after clicking on that button it should directly navigate me to lead home page using standard way

1. click on convert to lead button

User-added image

2. After clicking on the button directly it should navigate me to following page using standard way or jquery.

User-added image

Thank You.
Shubham4462Shubham4462
so what do you want exactly can you elobrate it.....
Aladdin USAladdin US
Hi Shubham,

                      I created one custom button called 'convert to lead' on contact, when i click on this button(screenshot 1) the contact which i created should convert to lead (screenshot 2) and contact gets deleted in contact object. I achieve this using URL and vf pages. Now i want to do this with Onclick Java script and the expected output should be as shown in the screenshots.

Thanks and Regards,
Aladdin.