+ Start a Discussion
Priyanka PillalaPriyanka Pillala 

Display a look up field in alert box

Hi,

 

There is a button called "Submit" on which I am displaying a cnfrmation box. As soon as the user clicks on 'OK', another alert box must be displayed with a lookup field(to User). Can u plz direct me to this solution?

 

Thanks in advance :)

 

Regards,

Priyanka

JitendraJitendra

Hi ,

 

You can take the help of JQuery.

This article will help you.

 

http://www.allsalesforce.com/articles/share/75985/

Sridhar VenkateswaraluSridhar Venkateswaralu

why dont use Create a Visual force Page with a Look up field in it and open that VF on click of Ok Button on the Alert Box.

 

You can use window.open('/apex/userLookupVF','','width=500,height=300,left=400,top=210') to open the VF page as a Pop-up.